Class ServerMap

java.lang.Object
zombie.network.ServerMap
All Implemented Interfaces:
TileBasedMap

public class ServerMap
extends java.lang.Object
implements TileBasedMap
  • Field Details

    • bUpdateLOSThisFrame

      public boolean bUpdateLOSThisFrame
    • LOSTick

      public static OnceEvery LOSTick
    • TimeTick

      public static OnceEvery TimeTick
    • CellSize

      public static final int CellSize
      See Also:
      Constant Field Values
    • ChunksPerCellWidth

      public static final int ChunksPerCellWidth
      See Also:
      Constant Field Values
    • LastSaved

      public long LastSaved
    • ZombieMap

      public final ServerMap.ZombieIDMap ZombieMap
    • bQueuedSaveAll

      public boolean bQueuedSaveAll
    • bQueuedQuit

      public boolean bQueuedQuit
    • instance

      public static ServerMap instance
    • cellMap

      public ServerMap.ServerCell[] cellMap
    • LoadedCells

      public java.util.ArrayList LoadedCells
    • ReleventNow

      public java.util.ArrayList ReleventNow
  • Constructor Details

    • ServerMap

      public ServerMap()
  • Method Details

    • getUniqueZombieId

      public short getUniqueZombieId()
    • getStartLocation

      public Vector3 getStartLocation​(ServerWorldDatabase.LogonResult logonResult)
    • SaveAll

      public void SaveAll()
    • QueueSaveAll

      public void QueueSaveAll()
    • QueueQuit

      public void QueueQuit()
    • toServerCellX

      public int toServerCellX​(int int1)
    • toServerCellY

      public int toServerCellY​(int int1)
    • toWorldCellX

      public int toWorldCellX​(int int1)
    • toWorldCellY

      public int toWorldCellY​(int int1)
    • getMaxX

      public int getMaxX()
    • getMaxY

      public int getMaxY()
    • getMinX

      public int getMinX()
    • getMinY

      public int getMinY()
    • init

      public void init​(IsoMetaGrid metaGrid)
    • getCell

      public ServerMap.ServerCell getCell​(int int1, int int2)
    • isValidCell

      public boolean isValidCell​(int int1, int int2)
    • loadOrKeepRelevent

      public void loadOrKeepRelevent​(int int1, int int2)
    • characterIn

      public void characterIn​(IsoPlayer player)
    • characterIn

      public void characterIn​(int int1, int int2, int int3)
    • loadMapChunk

      public void loadMapChunk​(int int1, int int2)
    • preupdate

      public void preupdate()
    • postupdate

      public void postupdate()
    • physicsCheck

      public void physicsCheck​(int int1, int int2)
    • saveZoneInsidePlayerInfluence

      public void saveZoneInsidePlayerInfluence​(int int1)
    • blocked

      public boolean blocked​(Mover mover, int int1, int int2, int int3, int int4, int int5, int int6)
      Specified by:
      blocked in interface TileBasedMap
    • getCost

      public float getCost​(Mover mover, int int1, int int2, int int3, int int4, int int5, int int6)
      Specified by:
      getCost in interface TileBasedMap
    • getElevInTiles

      public int getElevInTiles()
      Specified by:
      getElevInTiles in interface TileBasedMap
    • getHeightInTiles

      public int getHeightInTiles()
      Specified by:
      getHeightInTiles in interface TileBasedMap
    • getWidthInTiles

      public int getWidthInTiles()
      Specified by:
      getWidthInTiles in interface TileBasedMap
    • pathFinderVisited

      public void pathFinderVisited​(int int1, int int2, int int3)
      Specified by:
      pathFinderVisited in interface TileBasedMap
    • isNull

      public boolean isNull​(int int1, int int2, int int3)
      Specified by:
      isNull in interface TileBasedMap
    • IsStairsNode

      public boolean IsStairsNode​(IsoGridSquare square, IsoGridSquare square2, IsoDirections directions)
      Specified by:
      IsStairsNode in interface TileBasedMap
    • getGridSquare

      public IsoGridSquare getGridSquare​(int int1, int int2, int int3)
    • setGridSquare

      public void setGridSquare​(int int1, int int2, int int3, IsoGridSquare square)
    • isInLoaded

      public boolean isInLoaded​(float float1, float float2)
    • getChunk

      public IsoChunk getChunk​(int int1, int int2)