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

switch screen

This commit is contained in:
2022-06-10 18:49:02 +02:00
parent df732ad57f
commit 697c9e659f
6 changed files with 44 additions and 22 deletions

View File

@@ -20,6 +20,7 @@ public class ScreenBattle extends RenderingScreen{
private static int EDGE = 10;
private static int HEIGHT_DIALOG = Settings.SIDE / 3;
private static int WIDTH_DIALOG = Settings.SIDE - 2*EDGE;
private Enemy e;
private boolean attackOn;
private int numAttack =0;
@@ -60,6 +61,10 @@ public class ScreenBattle extends RenderingScreen{
}
public void setEnemy(Enemy e) {
this.e = e;
}
public void displayEnemy(Enemy e){
// stock his speech