Added a hud for the money
This commit is contained in:
parent
287e6b3e50
commit
d1a2aa8b4e
13 changed files with 34 additions and 12 deletions
|
|
@ -36,12 +36,10 @@ public class ProgressBar{
|
|||
|
||||
value = new Sprite(name+"_Value",tex2);
|
||||
value.setSize(new Vector2f(width,height));
|
||||
value.setLocation(new Vector2f(0,-50));
|
||||
progressNode.add(value);
|
||||
|
||||
bar = new Box(name+"_Bar",tex);
|
||||
bar.setSize(new Vector2f(width,height));
|
||||
bar.setLocation(new Vector2f());
|
||||
progressNode.add(bar);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue