Added a Gaia player and added some random stones
This commit is contained in:
parent
397fb7ebd0
commit
65747bd267
40 changed files with 1316 additions and 45 deletions
|
|
@ -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());
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue