import java.util.Random;
public class Thief {
Land thiefLand;
Random rand = new Random();
private int firstx = rand.nextInt(thiefLand.getLength());
private int firsty = rand.nextInt(thiefLand.getLength());
private int x = firstx;
private int y = firsty;
public int getX(){
return x;
}
public int getY(){
return y;
}
public void setLand(Land myLand) {
thiefLand = myLand;
}
}
-
9611046 authoredaf58303b