Refactored world renderer & world controls.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package mightypork.rogue.screens.gamescreen;
|
||||
|
||||
|
||||
import mightypork.gamecore.control.AppAccess;
|
||||
import mightypork.gamecore.gui.screens.LayeredScreen;
|
||||
|
||||
|
||||
public class ScreenGame extends LayeredScreen {
|
||||
|
||||
public ScreenGame(AppAccess app)
|
||||
{
|
||||
super(app);
|
||||
|
||||
addLayer(new WorldLayer(this)); //TODO with provided world
|
||||
addLayer(new GameGui(this));
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getName()
|
||||
{
|
||||
return "game_screen";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user