com.badlogic.gdx.math
Class GridPoint2

java.lang.Object
  extended by com.badlogic.gdx.math.GridPoint2

public class GridPoint2
extends Object

A point in a 2D grid, with integer x and y coordinates

Author:
badlogic

Field Summary
 int x
           
 int y
           
 
Constructor Summary
GridPoint2()
           
GridPoint2(GridPoint2 point)
           
GridPoint2(int x, int y)
           
 
Method Summary
 GridPoint2 set(GridPoint2 point)
           
 GridPoint2 set(int x, int y)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x

y

public int y
Constructor Detail

GridPoint2

public GridPoint2()

GridPoint2

public GridPoint2(int x,
                  int y)

GridPoint2

public GridPoint2(GridPoint2 point)
Method Detail

set

public GridPoint2 set(GridPoint2 point)

set

public GridPoint2 set(int x,
                      int y)


Copyright © 2013. All Rights Reserved.