Commit e43728db authored by 9611046's avatar 9611046

makes Police class

parent 87996eb4
package PACKAGE_NAME;
import java.util.Random;
public class Police {
Random rand = new Random();
Land policeLand;
int firstx = rand.nextInt(policeLand.getLength());
int firsty = rand.nextInt(policeLand.getLength());
private int x = firstx;
private int y = firsty;
public void move(){
int[][] availgitableRout =
}
public void setLand(Land myLand) {
policeLand = myLand;
}
public int getX(){
return x;
}
public int getY(){
return y;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment