|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.robrohan.ruin.doom.BspElement | +--com.robrohan.ruin.doom.Ssector
SSECTOR stands for sub-sector. These divide up all the SECTORS into convex polygons. They are then referenced through the NODES resources. There will be (number of nodes + 1) ssectors. The segs in ssector 0 should be segs 0 through x, then ssector 1 contains segs x+1 through y, ssector 2 containg segs y+1 to z, etc.
Constructor Summary | |
Ssector(int segCount,
int segStart)
|
Method Summary | |
void |
addThing(Thing thing)
add a thing to this sub sector |
void |
clear(int xSize,
int ySize)
|
void |
clearThings(Thing thing)
remove all the things in this sub sector |
void |
compile(DoomLevel level)
|
int[] |
getMaxY()
|
int[] |
getMinY()
|
Sector |
getSector()
get the sector this subsector belong to |
Seg[] |
getSegs()
get the segments in this Sub sector |
java.util.ArrayList |
getThings()
gets all the things in this sub sector |
boolean |
synchTo(Ssector ssector)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Ssector(int segCount, int segStart)
Method Detail |
public Seg[] getSegs()
public final int[] getMinY()
public final int[] getMaxY()
public boolean synchTo(Ssector ssector)
public void clear(int xSize, int ySize)
public Sector getSector()
public java.util.ArrayList getThings()
public void addThing(Thing thing)
public void clearThings(Thing thing)
public void compile(DoomLevel level)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |