infinitewisdom.model.util
Class Vec2i

java.lang.Object
  extended by infinitewisdom.model.util.Vec2i
All Implemented Interfaces:
java.lang.Cloneable

public class Vec2i
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
 int x
           
 int y
           
 
Constructor Summary
Vec2i()
           
Vec2i(double xi, double yi)
           
Vec2i(int xi, int yi)
           
Vec2i(Vec2f v2f)
           
 
Method Summary
 Vec2i clone()
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public int x

y

public int y
Constructor Detail

Vec2i

public Vec2i()

Vec2i

public Vec2i(int xi,
             int yi)

Vec2i

public Vec2i(double xi,
             double yi)

Vec2i

public Vec2i(Vec2f v2f)
Method Detail

clone

public Vec2i clone()
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

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