1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-10-31 11:39:17 +00:00

change the world

This commit is contained in:
Fastium
2022-06-14 01:14:54 +02:00
parent 08e2a1eed2
commit ccf38809b9
9 changed files with 62 additions and 30 deletions

View File

@@ -17,7 +17,8 @@ public class ScreenPlayer {
// One player by ScreenPlayer
p = new Player(8, 15, "desert");
b = new Battle(e);
b = new Battle(new Enemy("enemi", 0, 0, "charachter", "desert", 50, "enemi"));
// Create both type of screen and record for reuse
screenManager.registerScreen(ScreenMap.class);
@@ -34,6 +35,7 @@ public class ScreenPlayer {
if(sb != null){
sb.setBattle(b);
}
screenManager.render(g);