|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.robrohan.ruin.doom.Sidedef
A sidedef is a definition of what wall texture(s) to draw along a LINEDEF, and a group of sidedefs outline the space of a SECTOR. There will be one sidedef for a line that borders only one sector (and it must be the RIGHT side). It is not necessary to define what the player would see from the other side of that line because the player "can't" go there. The player can only go where there is a sector.
Constructor Summary | |
Sidedef(java.lang.String upperImage,
java.lang.String middleImage,
java.lang.String lowerImage,
int sectorNo,
int xTexOffs,
int yTexOffs)
|
Method Summary | |
void |
compile(DoomLevel level)
|
java.lang.String |
getLowerImage()
|
java.lang.String |
getMiddleImage()
|
Sector |
getSector()
get the sector object this Sidedef belongs to |
int |
getSectorNo()
get the sector number this Sidedef belongs to |
java.lang.String |
getUpperImage()
|
int |
getXTexOffs()
texture x offset for this side def |
int |
getYTexOffs()
texture y offset for this side def |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Sidedef(java.lang.String upperImage, java.lang.String middleImage, java.lang.String lowerImage, int sectorNo, int xTexOffs, int yTexOffs)
Method Detail |
public java.lang.String getUpperImage()
public java.lang.String getMiddleImage()
public java.lang.String getLowerImage()
public int getSectorNo()
public Sector getSector()
public void compile(DoomLevel level)
public int getXTexOffs()
public int getYTexOffs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |