mirror of
https://github.com/Klagarge/PokeHES.git
synced 2025-04-05 07:56:04 +00:00
48 lines
913 B
Java
48 lines
913 B
Java
|
|
import Screen.ScreenBattle;
|
|
import ch.hevs.gdx2d.desktop.PortableApplication;
|
|
import ch.hevs.gdx2d.lib.GdxGraphics;
|
|
import ch.hevs.gdx2d.lib.ScreenManager;
|
|
|
|
public class testYann extends PortableApplication{
|
|
|
|
private ScreenManager s = new ScreenManager();
|
|
|
|
ScreenBattle b;
|
|
|
|
public static void main(String[] args) {
|
|
new testYann();
|
|
|
|
}
|
|
|
|
testYann(){
|
|
super(1000, 800);
|
|
}
|
|
|
|
@Override
|
|
public void onInit() {
|
|
b = new ScreenBattle();
|
|
s.registerScreen(b.getClass());
|
|
}
|
|
|
|
@Override
|
|
public void onGraphicRender(GdxGraphics g) {
|
|
s.render(g);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
public void onKeyDown(int keycode) {
|
|
// TODO Auto-generated method stub
|
|
super.onKeyDown(keycode);
|
|
}
|
|
@Override
|
|
public void onKeyUp(int keycode) {
|
|
// TODO Auto-generated method stub
|
|
super.onKeyUp(keycode);
|
|
}
|
|
|
|
}
|