com.robrohan.ruin.doom
Class Texture

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

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

See Also:
Serialized Form

Constructor Summary
Texture(java.lang.String name, int width, int height)
          creates a new texture
 
Method Summary
 void addPatch(Patch patch)
          adds a patch
 void compile(WadReader wadReader)
           
 ByteImage getImg()
          gets the byte image graphic for this texture
 void setByteImage(byte[] rawimage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Texture

public Texture(java.lang.String name,
               int width,
               int height)
creates a new texture

Method Detail

addPatch

public void addPatch(Patch patch)
adds a patch


getImg

public ByteImage getImg()
gets the byte image graphic for this texture


setByteImage

public void setByteImage(byte[] rawimage)

compile

public void compile(WadReader wadReader)