Ich habe einen Score Actor hinzugefügt, welcher den Score oben im Bildschirm anzeigt und jede Sekunde um eins erhöht.
This commit is contained in:
@@ -30,6 +30,8 @@ public class MyWorld extends World
|
||||
{
|
||||
Player player = new Player();
|
||||
addObject(player,302,320);
|
||||
Score score = new Score();
|
||||
addObject(score, 200, 50);
|
||||
}
|
||||
public void act()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user