Class Point2
- java.lang.Object
-
- de.extio.spacecraft.shared.model.world.Point2
-
- All Implemented Interfaces:
HasPosition2
- Direct Known Subclasses:
Area2
,CompositeAndPosition
,CompositeIdAndPosition
,EntityLayerAndPosition
public class Point2 extends Object implements HasPosition2
A point in 2D space
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
CoordI2
getPosition()
int
hashCode()
void
setPosition(CoordI2 coord)
String
toString()
-
-
-
Constructor Detail
-
Point2
public Point2()
-
Point2
public Point2(CoordI2 coord)
-
-
Method Detail
-
setPosition
public void setPosition(CoordI2 coord)
-
getPosition
public CoordI2 getPosition()
- Specified by:
getPosition
in interfaceHasPosition2
-
-