Package zombie
Class ZombiePopulationManager
java.lang.Object
zombie.ZombiePopulationManager
public class ZombiePopulationManager
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classZombiePopulationManager.ZombiePopulationRenderer -
Field Summary
Fields Modifier and Type Field Description static ZombiePopulationManagerinstancefloat[]radarHackbooleanradarHackFlagintradarHackSize -
Constructor Summary
Constructors Constructor Description ZombiePopulationManager() -
Method Summary
Modifier and Type Method Description voidaddChunkToWorld(IsoChunk chunk)voidaddVirtualZombie(int x, int y)voidaddVirtualZombie(int x, int y, int pathTargetX, int pathTargetY)voidaddWorldSound(int x, int y, int radius, int volume)voidaddWorldSound(WorldSoundManager.WorldSound sound)voidbeginSaveRealZombies()voidclick(int x, int y)voidclientPacket(java.nio.ByteBuffer bb)voidconvertOldFiles()voidcreateHordeFromTo(int spawnX, int spawnY, int targetX, int targetY, int count)voidcreateHordeInAreaTo(int spawnX, int spawnY, int spawnW, int spawnH, int targetX, int targetY, int count)voiddbgClearZombies(int cellX, int cellY)voiddbgSpawnNow(int cellX, int cellY)voiddbgSpawnTimeToZero(int cellX, int cellY)voidendSaveRealZombies()zombie.ZombiePopulationManager.CellgetCellFromCellPos(int x, int y)zombie.ZombiePopulationManager.CellgetCellFromChunkPos(int wx, int wy)zombie.ZombiePopulationManager.CellgetCellFromWorldPos(int x, int y)voidinit(IsoMetaGrid metaGrid)booleanisRespawnEnabled()voidonConfigReloaded()voidplayerSpawnedAt(int x, int y, int z)voidremoveChunkFromWorld(IsoChunk chunk)voidsave()voidserverPacket(java.nio.ByteBuffer bb, UdpConnection connection)voidsetAggroTarget(int id, int x, int y)booleanshouldWait()voidstop()voidupdateLoadedAreas()voidupdateMain()voidvirtualizeZombie(IsoZombie realZombie)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
radarHack
public float[] radarHack -
radarHackSize
public int radarHackSize -
radarHackFlag
public boolean radarHackFlag
-
-
Constructor Details
-
ZombiePopulationManager
public ZombiePopulationManager()
-
-
Method Details
-
init
-
onConfigReloaded
public void onConfigReloaded() -
convertOldFiles
public void convertOldFiles() -
beginSaveRealZombies
public void beginSaveRealZombies() -
endSaveRealZombies
public void endSaveRealZombies() -
save
public void save() -
stop
public void stop() -
getCellFromCellPos
public zombie.ZombiePopulationManager.Cell getCellFromCellPos(int x, int y) -
getCellFromWorldPos
public zombie.ZombiePopulationManager.Cell getCellFromWorldPos(int x, int y) -
getCellFromChunkPos
public zombie.ZombiePopulationManager.Cell getCellFromChunkPos(int wx, int wy) -
isRespawnEnabled
public boolean isRespawnEnabled() -
setAggroTarget
public void setAggroTarget(int id, int x, int y) -
click
public void click(int x, int y) -
shouldWait
public boolean shouldWait() -
addChunkToWorld
-
removeChunkFromWorld
-
virtualizeZombie
-
updateMain
public void updateMain() -
updateLoadedAreas
public void updateLoadedAreas() -
addVirtualZombie
public void addVirtualZombie(int x, int y) -
addVirtualZombie
public void addVirtualZombie(int x, int y, int pathTargetX, int pathTargetY) -
createHordeFromTo
public void createHordeFromTo(int spawnX, int spawnY, int targetX, int targetY, int count) -
createHordeInAreaTo
public void createHordeInAreaTo(int spawnX, int spawnY, int spawnW, int spawnH, int targetX, int targetY, int count) -
playerSpawnedAt
public void playerSpawnedAt(int x, int y, int z) -
dbgSpawnTimeToZero
public void dbgSpawnTimeToZero(int cellX, int cellY) -
dbgClearZombies
public void dbgClearZombies(int cellX, int cellY) -
dbgSpawnNow
public void dbgSpawnNow(int cellX, int cellY) -
addWorldSound
public void addWorldSound(int x, int y, int radius, int volume) -
addWorldSound
-
clientPacket
public void clientPacket(java.nio.ByteBuffer bb) -
serverPacket
-