reformat code
parent
713be595b8
commit
7106da8e95
|
@ -4,6 +4,8 @@ import ca.cosc3p91.a2.player.Player;
|
||||||
|
|
||||||
public class GameEngine implements Runnable {
|
public class GameEngine implements Runnable {
|
||||||
|
|
||||||
|
private final boolean running = true;
|
||||||
|
|
||||||
private Player player;
|
private Player player;
|
||||||
|
|
||||||
private int pillageFactor;
|
private int pillageFactor;
|
||||||
|
@ -24,6 +26,8 @@ public class GameEngine implements Runnable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
while (running) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,6 @@ import ca.cosc3p91.a2.gameobjects.*;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class Map {
|
public class Map {
|
||||||
|
|
||||||
private Village_Hall townHall;
|
private Village_Hall townHall;
|
||||||
|
|
|
@ -4,11 +4,11 @@ import ca.cosc3p91.a2.game.Map;
|
||||||
|
|
||||||
public interface Inhabitant {
|
public interface Inhabitant {
|
||||||
|
|
||||||
public Map map = null;
|
Map map = null;
|
||||||
public Building building = null;
|
Building building = null;
|
||||||
|
|
||||||
public void move(Tile t);
|
void move(Tile t);
|
||||||
|
|
||||||
public void getPosition();
|
void getPosition();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue