org.lee.mugen.sprite.entity
Class PointF

java.lang.Object
  extended by 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

Author:
Dr Wong

Constructor Summary
PointF()
           
PointF(float x, float y)
           
PointF(java.awt.Point pt)
           
PointF(PointF pt)
           
 
Method Summary
 void addX(float x2)
           
 void addY(float y2)
           
 void addZ(float z2)
           
 java.lang.Object clone()
           
 PointF getLocation()
           
 float getX()
           
 float getY()
           
 float getZ()
           
 boolean isXSetted()
           
 boolean isYSetted()
           
 boolean isZSetted()
           
 void setLocation(float x, float y)
           
 void setX(float x)
           
 void setY(float y)
           
 void setZ(float z)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointF

public PointF()

PointF

public PointF(float x,
              float y)

PointF

public PointF(PointF pt)

PointF

public PointF(java.awt.Point pt)
Method Detail

isXSetted

public boolean isXSetted()

isYSetted

public boolean isYSetted()

isZSetted

public boolean isZSetted()

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)

addX

public void addX(float x2)

addY

public void addY(float y2)

addZ

public void addZ(float z2)