Package zombie.network
Class ServerMap
java.lang.Object
zombie.network.ServerMap
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
static final int
static final int
static ServerMap
long
static OnceEvery
static OnceEvery
final IsoObjectID<IsoZombie>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
characterIn
(int wx, int wy, int chunkGridWidth) void
void
clearSoftResetChunk
(IsoChunk chunk) getCell
(int x, int y) getChunk
(int wx, int wy) getGridSquare
(int x, int y, int z) int
getMaxX()
int
getMaxY()
int
getMinX()
int
getMinY()
short
void
init
(IsoMetaGrid metaGrid) boolean
isInLoaded
(float x, float y) boolean
isValidCell
(int x, int y) void
loadMapChunk
(int ix, int iy) void
loadOrKeepRelevent
(int x, int y) void
physicsCheck
(int x, int y) void
void
void
void
void
SaveAll()
void
saveZoneInsidePlayerInfluence
(short playerOID) void
setGridSquare
(int x, int y, int z, IsoGridSquare sq) void
setSoftResetChunk
(IsoChunk chunk) int
toServerCellX
(int x) int
toServerCellY
(int y) int
toWorldCellX
(int x) int
toWorldCellY
(int y)
-
Field Details
-
bUpdateLOSThisFrame
public boolean bUpdateLOSThisFrame -
LOSTick
-
TimeTick
-
CellSize
public static final int CellSize- See Also:
-
ChunksPerCellWidth
public static final int ChunksPerCellWidth- See Also:
-
LastSaved
public long LastSaved -
ZombieMap
-
bQueuedSaveAll
public boolean bQueuedSaveAll -
bQueuedQuit
public boolean bQueuedQuit -
instance
-
cellMap
-
LoadedCells
-
ReleventNow
-
-
Constructor Details
-
ServerMap
public ServerMap()
-
-
Method Details
-
getUniqueZombieId
public short getUniqueZombieId() -
getStartLocation
-
SaveAll
public void SaveAll() -
QueueSaveAll
public void QueueSaveAll() -
QueueQuit
public void QueueQuit() -
toServerCellX
public int toServerCellX(int x) -
toServerCellY
public int toServerCellY(int y) -
toWorldCellX
public int toWorldCellX(int x) -
toWorldCellY
public int toWorldCellY(int y) -
getMaxX
public int getMaxX() -
getMaxY
public int getMaxY() -
getMinX
public int getMinX() -
getMinY
public int getMinY() -
init
-
getCell
-
isValidCell
public boolean isValidCell(int x, int y) -
loadOrKeepRelevent
public void loadOrKeepRelevent(int x, int y) -
characterIn
-
characterIn
public void characterIn(int wx, int wy, int chunkGridWidth) -
loadMapChunk
public void loadMapChunk(int ix, int iy) -
preupdate
public void preupdate() -
postupdate
public void postupdate() -
physicsCheck
public void physicsCheck(int x, int y) -
saveZoneInsidePlayerInfluence
public void saveZoneInsidePlayerInfluence(short playerOID) -
getGridSquare
-
setGridSquare
-
isInLoaded
public boolean isInLoaded(float x, float y) -
getChunk
-
setSoftResetChunk
-
clearSoftResetChunk
-