Class VirtualZombieManager
java.lang.Object
zombie.VirtualZombieManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
AddBloodToMap
(int nSize, IsoChunk chk) void
addDeadZombiesToMap
(int nSize, RoomDef room) void
addIndoorZombiesToChunk
(IsoChunk chunk, IsoRoom room) void
addIndoorZombiesToChunk
(IsoChunk chunk, IsoRoom room, int zombieCountForRoom, ArrayList<IsoZombie> zombies) void
addZombiesToMap
(int nSize, RoomDef room) addZombiesToMap
(int nSize, RoomDef room, boolean bAllowDead) boolean
canSpawnAt
(int x, int y, int z) boolean
checkAndSpawnZombieForBuildingKey
(IsoZombie isoZombie) boolean
checkAndSpawnZombieForBuildingKey
(IsoZombie isoZombie, boolean boolean1) boolean
checkZombieKeyForBuilding
(String string, IsoGridSquare isoGridSquare) void
createEatingZombies
(IsoDeadBody target, int nb) void
createHordeFromTo
(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) float
void
init()
boolean
void
RemoveZombie
(IsoZombie obj) boolean
void
Reset()
int
void
roomSpotted
(IsoRoom room) boolean
shouldSpawnZombiesOnLevel
(int int1) boolean
spawnBuildingKeyOnZombie
(IsoZombie isoZombie) boolean
spawnBuildingKeyOnZombie
(IsoZombie isoZombie, BuildingDef buildingDef) void
tryAddIndoorZombies
(RoomDef room, boolean bAllowDead) void
update()
-
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
-