public class Position
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
scale
The relative position takes into account the elementary graphical parameter : scale.
|
private int |
x |
private int |
y |
Constructor and Description |
---|
Position(int x,
int y,
int scale) |
Modifier and Type | Method and Description |
---|---|
int |
getPositionX() |
int |
getPositionY() |
void |
moveDown() |
void |
moveLeft() |
void |
moveRight() |
void |
moveUp() |