Exemplo n.º 1
0
 public void setGround(Territory origin) {
   ground = origin;
   ground.addPlayer(this);
   x = ground.getX() - 15 + (int) (Math.random() * 30);
   y = ground.getY() - 15 + (int) (Math.random() * 30);
   checkReady();
 }