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

change PokeMudry by PokeHES

This commit is contained in:
2022-06-17 10:17:50 +02:00
parent afe374c201
commit f6f47d3063
3 changed files with 8 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ import com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.FreeTypeFont
import Control.Controller;
import Game.Battle;
import Main.PokeMudry;
import Main.PokeHES;
import Main.Settings;
import ch.hevs.gdx2d.components.bitmaps.BitmapImage;
@@ -108,7 +108,7 @@ public class ScreenBattle extends RenderingScreen{
public void manage(Controller c, Battle battle){
//add a rising front to have one impulsion
if(PokeMudry.risingFront){
if(PokeHES.risingFront){
//the enemi is attacking
if( battle.getAttackOn() == false){
if (c.keyStatus.get(Input.Keys.SPACE)){
@@ -131,7 +131,7 @@ public class ScreenBattle extends RenderingScreen{
}
}
//mettre le front à false jusqu'à ce que le bouton soit relâché
PokeMudry.risingFront = false;
PokeHES.risingFront = false;
}
}
}