com.robrohan.ruin.display
Class Sprite
java.lang.Object
|
+--com.robrohan.ruin.display.Sprite
- All Implemented Interfaces:
- java.lang.Comparable
- public class Sprite
- extends java.lang.Object
- implements java.lang.Comparable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sprite
public Sprite(Vertex pos,
float y,
ByteImage img)
Sprite
public Sprite(Vertex pos,
float y,
int xSize,
int ySize,
ByteImage img)
getPos
public Vertex getPos()
getY
public float getY()
getImg
public ByteImage getImg()
getxSize
public int getxSize()
getySize
public int getySize()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
project
public Sprite project(float xFovCalc,
float yFovCalc)