Package zombie
Class MapCollisionData
java.lang.Object
zombie.MapCollisionData
public final class MapCollisionData
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MapCollisionData.IPathResult
-
Field Summary
Fields Modifier and Type Field Description static byte
BIT_ROOM
static byte
BIT_SOLID
static byte
BIT_WALLN
static byte
BIT_WALLW
static byte
BIT_WATER
static MapCollisionData
instance
java.lang.Object
renderLock
-
Constructor Summary
Constructors Constructor Description MapCollisionData()
-
Method Summary
Modifier and Type Method Description void
addChunkToWorld(IsoChunk chunk)
boolean
hasDataForThread()
void
init(IsoMetaGrid metaGrid)
void
notifyThread()
void
removeChunkFromWorld(IsoChunk chunk)
void
save()
void
squareChanged(IsoGridSquare square)
void
start()
void
stop()
void
updateGameState()
void
updateMain()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
BIT_SOLID
public static final byte BIT_SOLID- See Also:
- Constant Field Values
-
BIT_WALLN
public static final byte BIT_WALLN- See Also:
- Constant Field Values
-
BIT_WALLW
public static final byte BIT_WALLW- See Also:
- Constant Field Values
-
BIT_WATER
public static final byte BIT_WATER- See Also:
- Constant Field Values
-
BIT_ROOM
public static final byte BIT_ROOM- See Also:
- Constant Field Values
-
renderLock
public final java.lang.Object renderLock
-
-
Constructor Details
-
MapCollisionData
public MapCollisionData()
-
-
Method Details
-
init
-
start
public void start() -
updateMain
public void updateMain() -
hasDataForThread
public boolean hasDataForThread() -
updateGameState
public void updateGameState() -
notifyThread
public void notifyThread() -
addChunkToWorld
-
removeChunkFromWorld
-
squareChanged
-
save
public void save() -
stop
public void stop()
-