Class GlobalObjectLookup
java.lang.Object
zombie.globalObjects.GlobalObjectLookup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObject(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) booleanhasObjectsInChunk(int wx, int wy) static voidinit(IsoMetaGrid _metaGrid) voidremoveObject(GlobalObject object) static voidReset()
-
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()
-