Added a queue size to the game hud and fixed the hud input thingy

This commit is contained in:
Ziver Koc 2007-04-26 16:20:55 +00:00
parent bbf31af002
commit 5bb373573d
5 changed files with 125 additions and 46 deletions

View file

@ -52,7 +52,7 @@ public class InGameHud {
hudNode.add(buildBar.getNode());
buildHud = new InGameBuildHud((int)(buildBack.getLocation().getX()-buildBack.getSize().getX()/4),
(int)(buildBack.getLocation().getY()+10));
(int)(buildBack.getLocation().getY()+10),player);
hudNode.add(buildHud.getNode());
}
@ -61,6 +61,9 @@ public class InGameHud {
money.setLocation(new Vector2f(LWJGLGameWindow.getWidth()-money.getBound().width,5));
player.addKredits(100);
buildBar.setValue(player.getCC().getBuildProgress());
buildHud.update();
hudNode.setLocation(new Vector2f(
LWJGLGameWindow.getCamera().getLocation().getX(),