com.robrohan.ruin.doom
Class Patch

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

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

a patch is like a "patch of graphic"

See Also:
Serialized Form

Constructor Summary
Patch(int xOffs, int yOffs, int imgId)
          creates a new patch
 
Method Summary
 int getImgId()
          gets the image id (set in the wad / wax)
 int getXOffs()
          get the X offset for this patch
 int getYOffs()
          gets the Y offset for this patch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Patch

public Patch(int xOffs,
             int yOffs,
             int imgId)
creates a new patch

Method Detail

getXOffs

public int getXOffs()
get the X offset for this patch


getYOffs

public int getYOffs()
gets the Y offset for this patch


getImgId

public int getImgId()
gets the image id (set in the wad / wax)