Atavism Version 2018.1AGIS API

atavism.server.math
Class IntVector2

java.lang.Object
  extended by 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
           
 
Constructor Summary
IntVector2()
           
IntVector2(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
 

Field Detail

x

public int x

y

public int y
Constructor Detail

IntVector2

public IntVector2()

IntVector2

public IntVector2(int x,
                  int y)
Method Detail

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


Copyright © 2018 Dragonsan Studios Sp. z o.o.