Class VirtualZombieManager
java.lang.Object
zombie.VirtualZombieManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAddBloodToMap(int nSize, IsoChunk chk) voidaddDeadZombiesToMap(int nSize, RoomDef room) voidaddIndoorZombiesToChunk(IsoChunk chunk, IsoRoom room) voidaddIndoorZombiesToChunk(IsoChunk chunk, IsoRoom room, int zombieCountForRoom, ArrayList<IsoZombie> zombies) voidaddZombiesToMap(int nSize, RoomDef room) addZombiesToMap(int nSize, RoomDef room, boolean bAllowDead) booleancanSpawnAt(int x, int y, int z) booleanbooleancheckAndSpawnZombieForBuildingKey(IsoZombie zombie0, boolean boolean1) booleancheckZombieKeyForBuilding(String string, IsoGridSquare square) voidcreateEatingZombies(IsoDeadBody target, int nb) voidcreateHordeFromTo(float spawnX, float spawnY, float targetX, float targetY, int count) createRealZombie(float x, float y, float z) createRealZombieAlways(int ZombieDir, boolean bDead) createRealZombieAlways(int ZombieDir, boolean bDead, int outfitID) createRealZombieAlways(int descriptorID, int ZombieDir, boolean bDead) createRealZombieNow(float x, float y, float z) floatvoidinit()booleanvoidRemoveZombie(IsoZombie obj) booleanvoidReset()intvoidroomSpotted(IsoRoom room) booleanshouldSpawnZombiesOnLevel(int int1) booleanspawnBuildingKeyOnZombie(IsoZombie zombie0) booleanspawnBuildingKeyOnZombie(IsoZombie zombie0, BuildingDef buildingDef) voidtryAddIndoorZombies(RoomDef room, boolean bAllowDead) voidupdate()
-
Field Details
-
instance
-
MaxRealZombies
public int MaxRealZombies -
choices
-
-
Constructor Details
-
VirtualZombieManager
public VirtualZombieManager()
-
-
Method Details
-
getKeySpawnChanceD100
public float getKeySpawnChanceD100() -
removeZombieFromWorld
-
addToReusable
-
isReused
-
init
public void init() -
Reset
public void Reset() -
update
public void update() -
createRealZombieAlways
-
createRealZombieAlways
-
createRealZombieAlways
-
createEatingZombies
-
AddBloodToMap
-
shouldSpawnZombiesOnLevel
public boolean shouldSpawnZombiesOnLevel(int int1) -
addZombiesToMap
-
addZombiesToMap
-
tryAddIndoorZombies
-
addIndoorZombiesToChunk
-
addIndoorZombiesToChunk
-
addDeadZombiesToMap
-
RemoveZombie
-
createHordeFromTo
public void createHordeFromTo(float spawnX, float spawnY, float targetX, float targetY, int count) -
createRealZombie
-
createRealZombieNow
-
roomSpotted
-
canSpawnAt
public boolean canSpawnAt(int x, int y, int z) -
reusableZombiesSize
public int reusableZombiesSize() -
checkZombieKeyForBuilding
-
spawnBuildingKeyOnZombie
-
spawnBuildingKeyOnZombie
-
checkAndSpawnZombieForBuildingKey
-
checkAndSpawnZombieForBuildingKey
-