com.b3dgs.lionengine.geometry
Interface Point2D


public interface Point2D

Representation of a 2D location on screen (integer).


Method Summary
 int getX()
          Get current horizontal location.
 int getY()
          Get current vertical location.
 void setLocation(int x, int y)
          Set new location.
 

Method Detail

setLocation

void setLocation(int x,
                 int y)
Set new location.

Parameters:
x - horizontal location.
y - vertical location.

getX

int getX()
Get current horizontal location.

Returns:
horizontal location.

getY

int getY()
Get current vertical location.

Returns:
vertical location.