1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-04-05 07:56:04 +00:00
PokeHES/src/Screen/ScreenPlayer.java

26 lines
509 B
Java

package Screen;
import Entity.Player;
import ch.hevs.gdx2d.lib.GdxGraphics;
import ch.hevs.gdx2d.lib.ScreenManager;
public class ScreenPlayer {
public ScreenManager screenManager = new ScreenManager();
private Player player;
public void init(){
player = new Player(8, 15);
screenManager.registerScreen(ScreenMap.class);
screenManager.registerScreen(ScreenBattle.class);
}
public void render(GdxGraphics g){
screenManager.render(g);
}
}