gecco.server.visibility
Class Point
java.lang.Object
|
+--gecco.server.visibility.Point
- All Implemented Interfaces:
- Comparable
- public class Point
- extends Object
- implements Comparable
Description of the Class
- Author:
- Karl Hasselström
|
Field Summary |
int |
x
Description of the Field |
int |
y
Description of the Field |
|
Constructor Summary |
Point(int x,
int y)
Constructor for the Point object |
x
public int x
- Description of the Field
y
public int y
- Description of the Field
Point
public Point(int x,
int y)
- Constructor for the Point object
- Parameters:
x - Description of Parametery - Description of Parameter
compareTo
public int compareTo(Object o)
- Description of the Method
- Specified by:
compareTo in interface Comparable
- Parameters:
o - Description of Parameter- Returns:
- Description of the Returned Value
equals
public boolean equals(Object o)
- Description of the Method
- Overrides:
equals in class Object
- Parameters:
o - Description of Parameter- Returns:
- Description of the Returned Value