Package fr.formiko.usuel
Class Point
java.lang.Object
fr.formiko.usuel.Point
- All Implemented Interfaces:
 Serializable,Cloneable
- Direct Known Subclasses:
 Blade
Point is a basic geometic shape.
In Formiko, it is used to store an x and an y in a single object.
In Formiko, it is used to store an x and an y in a single object.
- Author:
 - Hydrolien
 - See Also:
 - Serialized Form
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
x
protected int x - 
y
protected int y 
 - 
 - 
Constructor Details
- 
Point
public Point(int x, int y)A simple contructor. - 
Point
A simple contructor.
A Point can be create from a string that look like this :
- 3,5
 - 78 -90
 - +467;+100
 
 
 - 
 - 
Method Details
- 
getX
public int getX() - 
getY
public int getY() - 
setX
public void setX(int x) - 
setY
public void setY(int y) - 
addX
public void addX(int a) - 
addY
public void addY(int a) - 
toString
A simple toString function. - 
equals
Standard equals function. Null & other class type proof. - 
equals
Equals methode for point.
A Point can be compare to a string that look like this :
- 3,5
 - 78 -90
 - +467;+100
 
 - 
clone
Standard clone function. 
 -