Added a Gaia player and added some random stones

This commit is contained in:
Ziver Koc 2007-04-21 21:18:27 +00:00
parent 397fb7ebd0
commit 65747bd267
40 changed files with 1316 additions and 45 deletions

View file

@ -21,7 +21,7 @@ public class InGameState extends GameState{
rootNode = new Node("InGameNode");
map = new Map(20,20);
rootNode.add(map.getMapNode());
map.init();
InGameMouseInput mouse = new InGameMouseInput(map);
super.getInput().addInput(mouse);
@ -36,9 +36,10 @@ public class InGameState extends GameState{
player.addUnit(new Bomber(3, 0, player));
player.addUnit(new APU(4, 0, player));
rootNode.add(player.getNode());
PlayerHandler.getInstance().addPlayer(player);
rootNode.add(map.getMapNode());
rootNode.add(PlayerHandler.getInstance().getNode());
rootNode.add(WeaponHandler.getInstance().getNode());
}