Class GlobalObjectLookup
java.lang.Object
zombie.globalObjects.GlobalObjectLookup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addObject
(GlobalObject object) getObjectAt
(int x, int y, int z) getObjectsAdjacentTo
(int x, int y, int z, ArrayList<GlobalObject> objects) getObjectsInChunk
(int wx, int wy, ArrayList<GlobalObject> objects) boolean
hasObjectsInChunk
(int wx, int wy) static void
init
(IsoMetaGrid _metaGrid) void
removeObject
(GlobalObject object) static void
Reset()
-
Constructor Details
-
GlobalObjectLookup
-
-
Method Details
-
addObject
-
removeObject
-
getObjectAt
-
hasObjectsInChunk
public boolean hasObjectsInChunk(int wx, int wy) -
getObjectsInChunk
-
getObjectsAdjacentTo
public ArrayList<GlobalObject> getObjectsAdjacentTo(int x, int y, int z, ArrayList<GlobalObject> objects) -
init
-
Reset
public static void Reset()
-