com.robrohan.ruin.doom
Class DoomLevel

java.lang.Object
  |
  +--com.robrohan.ruin.doom.DoomLevel
All Implemented Interfaces:
java.io.Serializable

public class DoomLevel
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DoomLevel()
           
 
Method Summary
 void compile()
          "create" this level
 Blockmap getBlockmap()
           
 Linedef[] getLinedefs()
           
 java.lang.String getName()
           
 Node[] getNodes()
           
 Pos getPlayerStart()
          player start pos for this level
 boolean[][] getReject()
           
 Vertex[] getRotatedVertices(float x, float z, float rot)
           
 Sector getSectorAt(float x, float z)
           
 Sector[] getSectors()
           
 Seg[] getSegs()
           
 Sidedef[] getSidedefs()
           
 Ssector getSsectorAt(float x, float z)
           
 Ssector[] getSsectors()
           
 Node getTopNode()
           
 void setBlockmap(Blockmap bm)
           
 void setLinedefs(Linedef[] linedefs)
           
 void setName(java.lang.String levelname)
           
 void setNodes(Node[] nodes)
           
 void setPlayerStart(Pos playerStart)
           
 void setReject(boolean[][] reject)
           
 void setSectors(Sector[] sectors)
          add all the sectors to this level
 void setSegs(Seg[] segs)
           
 void setSidedefs(Sidedef[] sidedefs)
           
 void setSsectors(Ssector[] ssectors)
           
 void setThings(Thing[] things)
           
 void setVertexes(Vertex[] vertexes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoomLevel

public DoomLevel()
Method Detail

setName

public void setName(java.lang.String levelname)

getName

public java.lang.String getName()

setPlayerStart

public void setPlayerStart(Pos playerStart)

getTopNode

public Node getTopNode()

getReject

public boolean[][] getReject()

setReject

public void setReject(boolean[][] reject)

getPlayerStart

public Pos getPlayerStart()
player start pos for this level


getSectors

public Sector[] getSectors()

setSectors

public void setSectors(Sector[] sectors)
add all the sectors to this level


setNodes

public void setNodes(Node[] nodes)

getNodes

public Node[] getNodes()

setSegs

public void setSegs(Seg[] segs)

getSegs

public Seg[] getSegs()

setSsectors

public void setSsectors(Ssector[] ssectors)

getSsectors

public Ssector[] getSsectors()

setVertexes

public void setVertexes(Vertex[] vertexes)

setLinedefs

public void setLinedefs(Linedef[] linedefs)

setSidedefs

public void setSidedefs(Sidedef[] sidedefs)

setThings

public void setThings(Thing[] things)

getLinedefs

public Linedef[] getLinedefs()

getSidedefs

public Sidedef[] getSidedefs()

setBlockmap

public void setBlockmap(Blockmap bm)

getBlockmap

public Blockmap getBlockmap()

getRotatedVertices

public Vertex[] getRotatedVertices(float x,
                                   float z,
                                   float rot)

getSsectorAt

public Ssector getSsectorAt(float x,
                            float z)

getSectorAt

public Sector getSectorAt(float x,
                          float z)

compile

public void compile()
"create" this level