Class TextureSet.Patch
java.lang.Object
net.mtrop.doom.texture.TextureSet.Patch
- Enclosing class:
TextureSet
-
Method Summary
Modifier and TypeMethodDescriptiongetName()intintvoidsetOriginX(int originX) Sets the patch offset X.voidsetOriginY(int originY) Sets the patch offset Y.
-
Method Details
-
getName
- Returns:
- the patch name.
-
getOriginX
public int getOriginX()- Returns:
- the patch offset X.
-
setOriginX
public void setOriginX(int originX) Sets the patch offset X.- Parameters:
originX- the new origin, x-coordinate.
-
getOriginY
public int getOriginY()- Returns:
- the patch offset Y.
-
setOriginY
public void setOriginY(int originY) Sets the patch offset Y.- Parameters:
originY- the new origin, y-coordinate.
-