Package rea.components
Class Position
java.lang.Object
rea.components.Position
A position in the game map. Provides the x and y coordinates of the position.
to the
Positionable
components.- Author:
- José Paulo Leal
jpleal@fc.up.pt
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Position
public Position(int x, int y) Create a position with the given coordinates.- Parameters:
x
- coordinatey
- coordinate
-
-
Method Details