added a Entity.java class that handles position rotation and collition. collition has jet not been made.

This commit is contained in:
Ziver Koc 2007-03-13 18:37:22 +00:00
parent dbee794932
commit 0044d4fff4
17 changed files with 154 additions and 55 deletions

View file

@ -14,7 +14,6 @@ public class InGameState extends GameState{
rootNode = new Node("InGameNode");
s1 = new Sprite("tank","data/units/tank.png");
rootNode.add(s1);
s1.setLocation(1, 1);
}
@Override
@ -24,7 +23,7 @@ public class InGameState extends GameState{
@Override
public void update() {
s1.getLocation().add(1);
s1.getLocation().add(0.1);
}
}