Beispiel #1
0
 /** @return the y position of the Sprite */
 public int getY() {
   int yPos = position.y * panel.getBlockSize();
   return yPos;
 }
Beispiel #2
0
 /** @return the x position of the Sprite */
 public int getX() {
   int xPos = position.x * panel.getBlockSize();
   return xPos;
 }