Package zombie.popman
Class ZombiePopulationManager
java.lang.Object
zombie.popman.ZombiePopulationManager
public final class ZombiePopulationManager
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected boolean
bClient
protected boolean
bStopped
protected static int
CHUNKS_PER_CELL
protected int
height
static ZombiePopulationManager
instance
protected int
minX
protected int
minY
int
radarCount
boolean
radarRenderFlag
boolean
radarRequestFlag
float[]
radarXY
protected static int
SQUARES_PER_CELL
protected static int
SQUARES_PER_CHUNK
protected int
width
protected static byte
ZOMBIE_CRAWLER
protected static byte
ZOMBIE_DEAD
protected static byte
ZOMBIE_FAKE_DEAD
protected static byte
ZOMBIE_WALKER
-
Constructor Summary
Constructors Constructor Description ZombiePopulationManager()
-
Method Summary
Modifier and Type Method Description void
addChunkToWorld(IsoChunk chunk)
void
addWorldSound(int int1, int int2, int int3, int int4)
void
addWorldSound(WorldSoundManager.WorldSound worldSound)
void
beginSaveRealZombies()
void
createHordeFromTo(int int1, int int2, int int3, int int4, int int5)
void
createHordeInAreaTo(int int1, int int2, int int3, int int4, int int5, int int6, int int7)
void
dbgClearZombies(int int1, int int2)
void
dbgSpawnNow(int int1, int int2)
void
dbgSpawnTimeToZero(int int1, int int2)
void
endSaveRealZombies()
static void
init()
void
init(IsoMetaGrid metaGrid)
protected static void
n_realZombieCount(short short1, short[] shortArray)
protected static void
n_spawnHorde(int int1, int int2, int int3, int int4, float float1, float float2, int int5)
void
onConfigReloaded()
void
playerSpawnedAt(int int1, int int2, int int3)
void
removeChunkFromWorld(IsoChunk chunk)
void
save()
void
setAggroTarget(int int1, int int2, int int3)
boolean
shouldWait()
void
stop()
void
updateLoadedAreas()
void
updateMain()
void
updateThread()
void
virtualizeZombie(IsoZombie zombie)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
SQUARES_PER_CHUNK
protected static final int SQUARES_PER_CHUNK- See Also:
- Constant Field Values
-
CHUNKS_PER_CELL
protected static final int CHUNKS_PER_CELL- See Also:
- Constant Field Values
-
SQUARES_PER_CELL
protected static final int SQUARES_PER_CELL- See Also:
- Constant Field Values
-
ZOMBIE_DEAD
protected static final byte ZOMBIE_DEAD- See Also:
- Constant Field Values
-
ZOMBIE_FAKE_DEAD
protected static final byte ZOMBIE_FAKE_DEAD- See Also:
- Constant Field Values
-
ZOMBIE_CRAWLER
protected static final byte ZOMBIE_CRAWLER- See Also:
- Constant Field Values
-
ZOMBIE_WALKER
protected static final byte ZOMBIE_WALKER- See Also:
- Constant Field Values
-
minX
protected int minX -
minY
protected int minY -
width
protected int width -
height
protected int height -
bStopped
protected boolean bStopped -
bClient
protected boolean bClient -
radarXY
public float[] radarXY -
radarCount
public int radarCount -
radarRenderFlag
public boolean radarRenderFlag -
radarRequestFlag
public boolean radarRequestFlag
-
-
Constructor Details
-
ZombiePopulationManager
public ZombiePopulationManager()
-
-
Method Details
-
init
public static void init() -
n_realZombieCount
protected static void n_realZombieCount(short short1, short[] shortArray) -
n_spawnHorde
protected static void n_spawnHorde(int int1, int int2, int int3, int int4, float float1, float float2, int int5) -
init
-
onConfigReloaded
public void onConfigReloaded() -
playerSpawnedAt
public void playerSpawnedAt(int int1, int int2, int int3) -
addChunkToWorld
-
removeChunkFromWorld
-
virtualizeZombie
-
setAggroTarget
public void setAggroTarget(int int1, int int2, int int3) -
createHordeFromTo
public void createHordeFromTo(int int1, int int2, int int3, int int4, int int5) -
createHordeInAreaTo
public void createHordeInAreaTo(int int1, int int2, int int3, int int4, int int5, int int6, int int7) -
addWorldSound
public void addWorldSound(int int1, int int2, int int3, int int4) -
addWorldSound
-
updateMain
public void updateMain() -
updateThread
public void updateThread() -
shouldWait
public boolean shouldWait() -
updateLoadedAreas
public void updateLoadedAreas() -
dbgSpawnTimeToZero
public void dbgSpawnTimeToZero(int int1, int int2) -
dbgClearZombies
public void dbgClearZombies(int int1, int int2) -
dbgSpawnNow
public void dbgSpawnNow(int int1, int int2) -
beginSaveRealZombies
public void beginSaveRealZombies() -
endSaveRealZombies
public void endSaveRealZombies() -
save
public void save() -
stop
public void stop()
-