org.lee.mugen.sprite.entity
Class PointF
java.lang.Object
org.lee.mugen.sprite.entity.PointF
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- Velocity
public class PointF
- extends java.lang.Object
- implements java.lang.Cloneable
|
Field Summary |
float |
x
|
float |
y
|
float |
z
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public float x
y
public float y
z
public float z
PointF
public PointF()
PointF
public PointF(float x,
float y)
PointF
public PointF(PointF pt)
PointF
public PointF(java.awt.Point pt)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
getX
public float getX()
setX
public void setX(float x)
getY
public float getY()
setY
public void setY(float y)
getLocation
public PointF getLocation()
setLocation
public void setLocation(float x,
float y)
getZ
public float getZ()
setZ
public void setZ(float z)