From 61c9cf07f4ff22ad5979cf5d818e35a2a6a98953 Mon Sep 17 00:00:00 2001 From: diane Date: Mon, 1 May 2023 17:37:36 +0200 Subject: [PATCH] centrer position initiale joueur --- src/controleur/ControleurJeu.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controleur/ControleurJeu.java b/src/controleur/ControleurJeu.java index 2a7f283..1a83cc4 100644 --- a/src/controleur/ControleurJeu.java +++ b/src/controleur/ControleurJeu.java @@ -6,8 +6,8 @@ import model.*; public class ControleurJeu extends Thread { private static final int GAME_SPEED = 1000; - private static final int POS_INITIALE_JOUEUR_X = Plateau.TAILLE_X / 2 + 1; - private static final int POS_INITIALE_JOUEUR_Y = Plateau.TAILLE_Y / 2 + 1; + private static final int POS_INITIALE_JOUEUR_X = Plateau.TAILLE_X / 2 ; + private static final int POS_INITIALE_JOUEUR_Y = Plateau.TAILLE_Y / 2 ; private static final int VIES_INIT = Joueur.VIE_MAX; private static final int SCORE_ATTAQUE_INIT = Joueur.ATTAQUE_MAX / 2;