mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-10-31 11:39:17 +00:00 
			
		
		
		
	change screenBattleOn
This commit is contained in:
		| @@ -6,8 +6,7 @@ import Entity.Enemy; | ||||
| import Text.TextEnemy; | ||||
|  | ||||
| public class Battle { | ||||
|  | ||||
|     private Enemy enemy; | ||||
|      | ||||
|  | ||||
|     TextEnemy textEnemy; | ||||
|     private int lineSpeech; | ||||
| @@ -15,10 +14,11 @@ public class Battle { | ||||
| 	public int answer; | ||||
|  | ||||
|     private int winPoint; | ||||
|  | ||||
|     private boolean screenBattleOn = true; | ||||
|     | ||||
|  | ||||
|     public Battle(Enemy enemy){ | ||||
|         this.enemy = enemy; | ||||
|         textEnemy = new TextEnemy("enemi"); // should be enemy.name | ||||
| 		textEnemy.generateText(); | ||||
|  | ||||
| @@ -78,6 +78,10 @@ public class Battle { | ||||
|     public int getLineSpeech() { | ||||
|         return lineSpeech; | ||||
|     } | ||||
|  | ||||
|     public boolean getScreenBattle(){ | ||||
|         return screenBattleOn; | ||||
|     } | ||||
|       | ||||
|      | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user