atavism.server.math
Class IntVector2
java.lang.Object
atavism.server.math.IntVector2
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class IntVector2
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
represents a 2d point using integers, useful in 2D boundary calculations
- See Also:
- Serialized Form
Field Summary |
int |
x
|
int |
y
|
Method Summary |
java.lang.Object |
clone()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public int x
y
public int y
IntVector2
public IntVector2()
IntVector2
public IntVector2(int x,
int y)
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object