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(); }