Package net.mtrop.doom.texture
Class TextureSet.Patch
java.lang.Object
net.mtrop.doom.texture.TextureSet.Patch
- Enclosing class:
- TextureSet
Texture patch.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
int
void
setOriginX
(int originX) Sets the patch offset X.void
setOriginY
(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.
-