com.robrohan.ruin.doom
Class WadReader

java.lang.Object
  |
  +--com.robrohan.ruin.doom.WadReader
Direct Known Subclasses:
WaxReader

public class WadReader
extends java.lang.Object


Field Summary
 java.lang.String focusLevel
           
 java.lang.String TESTLEVEL
           
 
Constructor Summary
WadReader()
           
 
Method Summary
 Blockmap getBlockMap()
          Returns the blockmap for this level
 byte[][] getColorMaps()
           
 java.util.Map getFlats()
          Returns all the Flats in this wad
 java.util.Map getImages()
          Returns all the Images in this wad
 java.util.Map getLevels()
           
 byte[][][] getPalettes()
           
 java.util.List getPnames()
           
 java.util.Map getTextures()
          Returns all the Textures in this wad
 void read(java.io.InputStream stream, int totalSize, WadReaderListener listener)
           
 void setTestLevel(java.lang.String level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TESTLEVEL

public java.lang.String TESTLEVEL

focusLevel

public java.lang.String focusLevel
Constructor Detail

WadReader

public WadReader()
Method Detail

getPnames

public java.util.List getPnames()

getTextures

public java.util.Map getTextures()
Returns all the Textures in this wad


getFlats

public java.util.Map getFlats()
Returns all the Flats in this wad


getImages

public java.util.Map getImages()
Returns all the Images in this wad


getBlockMap

public Blockmap getBlockMap()
Returns the blockmap for this level


getLevels

public java.util.Map getLevels()

getColorMaps

public byte[][] getColorMaps()

getPalettes

public byte[][][] getPalettes()

setTestLevel

public void setTestLevel(java.lang.String level)

read

public void read(java.io.InputStream stream,
                 int totalSize,
                 WadReaderListener listener)
          throws java.io.IOException
java.io.IOException