za.co.luma.geom
Class Vector2DInt

java.lang.Object
  extended by za.co.luma.geom.Vector2DInt

public class Vector2DInt
extends java.lang.Object

Class that represents a 2D point with int. This class is usefull for keeping tracks of indeces in a 2D array.


Field Summary
 int x
           
 int y
           
 
Constructor Summary
Vector2DInt(int x, int y)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public int x

y

public int y
Constructor Detail

Vector2DInt

public Vector2DInt(int x,
                   int y)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object