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

display the pv of enemy ok

This commit is contained in:
Fastium
2022-06-16 19:30:07 +02:00
parent aac7ba69f6
commit baff97fa03
3 changed files with 4 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ public class ScreenBattle extends RenderingScreen{
//dialog
if(b == null) return;
if(b.getLine() == null) return;
g.drawString(15, 260 ,b.getLine() , unbuntuRegularBlack);
g.drawString(15, 260, b.getLine(), unbuntuRegularBlack);
}
@@ -93,7 +93,7 @@ public class ScreenBattle extends RenderingScreen{
//draw image
g.drawPicture(Settings.SIDE - (192/2), Settings.SIDE-240/2, enemyImg);
//draw pv
g.drawString(350, Settings.SIDE - 15 , "PV : " + b.pvEnemy + " / " + b.e.getPvInit(), unbuntuRegularWhite);
g.drawString(300, Settings.SIDE - 15 , "PV : " + b.pvEnemy + " / " + b.e.getPvInit(), unbuntuRegularWhite);
}