Package zombie.globalObjects
Class GlobalObjectSystem
java.lang.Object
zombie.globalObjects.GlobalObjectSystem
- Direct Known Subclasses:
CGlobalObjectSystem
,SGlobalObjectSystem
public abstract class GlobalObjectSystem
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected GlobalObjectLookup
lookup
protected KahluaTable
modData
protected java.lang.String
name
protected java.util.ArrayList
objects
-
Method Summary
Modifier and Type Method Description java.util.ArrayList
allocList()
void
finishedWithList(java.util.ArrayList arrayList)
KahluaTable
getModData()
java.lang.String
getName()
GlobalObject
getObjectAt(int int1, int int2, int int3)
GlobalObject
getObjectByIndex(int int1)
int
getObjectCount()
java.util.ArrayList
getObjectsAdjacentTo(int int1, int int2, int int3)
java.util.ArrayList
getObjectsInChunk(int int1, int int2)
boolean
hasObjectsInChunk(int int1, int int2)
protected abstract GlobalObject
makeObject(int int1, int int2, int int3)
GlobalObject
newObject(int int1, int int2, int int3)
void
removeObject(GlobalObject globalObject)
void
Reset()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
protected final java.lang.String name -
modData
-
objects
protected final java.util.ArrayList objects -
lookup
-
-
Method Details
-
getName
public java.lang.String getName() -
getModData
-
makeObject
-
newObject
-
removeObject
public final void removeObject(GlobalObject globalObject) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
-
getObjectAt
-
hasObjectsInChunk
public final boolean hasObjectsInChunk(int int1, int int2) -
getObjectsInChunk
public final java.util.ArrayList getObjectsInChunk(int int1, int int2) -
getObjectsAdjacentTo
public final java.util.ArrayList getObjectsAdjacentTo(int int1, int int2, int int3) -
getObjectCount
public final int getObjectCount() -
getObjectByIndex
-
allocList
public final java.util.ArrayList allocList() -
finishedWithList
public final void finishedWithList(java.util.ArrayList arrayList) -
Reset
public void Reset()
-