This commit is contained in:
Ondřej Hruška
2014-04-26 01:57:29 +02:00
parent 5235b969c9
commit 84ef9fb9fe
23 changed files with 339 additions and 38 deletions
@@ -15,12 +15,17 @@ import mightypork.util.files.ion.Ion;
public class ScreenGame extends LayeredScreen {
private final World world;
public ScreenGame(AppAccess app)
{
super(app);
addLayer(new WorldLayer(this, obtainWorld())); //TODO with provided world
addLayer(new HudLayer(this));
this.world = obtainWorld();
addLayer(new WorldLayer(this, world));
addLayer(new HudLayer(this, world));
}