Package zombie
Class VirtualZombieManager
java.lang.Object
zombie.VirtualZombieManager
public class VirtualZombieManager
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList
choices
static VirtualZombieManager
instance
int
MaxRealZombies
java.util.ArrayList
ReusedThisFrame
-
Constructor Summary
Constructors Constructor Description VirtualZombieManager()
-
Method Summary
Modifier and Type Method Description void
AddBloodToMap(int nSize, IsoChunk chk)
void
addDeadZombiesToMap(int nSize, RoomDef room)
void
addToReusable(IsoZombie z)
void
addZombiesToMap(int nSize, RoomDef room)
void
addZombiesToMap(int nSize, RoomDef room, boolean bAllowDead)
boolean
canSpawnAt(int x, int y, int z)
void
createHordeFromTo(float spawnX, float spawnY, float targetX, float targetY, int count)
IsoZombie
createRealZombie(float x, float y, float z)
IsoZombie
createRealZombieAlways(int ZombieDir, boolean bDead)
IsoZombie
createRealZombieAlways(int ZombieDir, boolean bDead, SurvivorDesc descriptor, int palette)
IsoZombie
createRealZombieAlways(int descriptorID, int ZombieDir, boolean bDead)
IsoZombie
createRealZombieNow(float x, float y, float z)
void
init()
boolean
isReused(IsoZombie z)
void
RemoveZombie(IsoZombie obj)
boolean
removeZombieFromWorld(IsoZombie z)
void
roomSpotted(IsoRoom room)
void
tryAddIndoorZombies(RoomDef room, boolean bAllowDead)
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ReusedThisFrame
public java.util.ArrayList ReusedThisFrame -
instance
-
MaxRealZombies
public int MaxRealZombies -
choices
public java.util.ArrayList choices
-
-
Constructor Details
-
VirtualZombieManager
public VirtualZombieManager()
-
-
Method Details
-
removeZombieFromWorld
-
addToReusable
-
isReused
-
init
public void init() -
update
public void update() -
createRealZombieAlways
-
createRealZombieAlways
-
createRealZombieAlways
public IsoZombie createRealZombieAlways(int ZombieDir, boolean bDead, SurvivorDesc descriptor, int palette) -
AddBloodToMap
-
addZombiesToMap
-
addZombiesToMap
-
tryAddIndoorZombies
-
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)
-