diff --git a/server/src/main/java/fr/lnl/game/server/games/player/ComputerPlayer.java b/server/src/main/java/fr/lnl/game/server/games/player/ComputerPlayer.java index 8432d6d..f4e0a95 100644 --- a/server/src/main/java/fr/lnl/game/server/games/player/ComputerPlayer.java +++ b/server/src/main/java/fr/lnl/game/server/games/player/ComputerPlayer.java @@ -4,7 +4,7 @@ import fr.lnl.game.server.games.weapon.Weapon; import fr.lnl.game.server.utils.Point; public class ComputerPlayer extends AbstractPlayer{ - public ComputerPlayer(int id, Point position, int ernergy, Weapon weapon, boolean shieldDeploy) { - super(id, position, ernergy, weapon, shieldDeploy); + public ComputerPlayer(int id, Point position, int energy, Weapon weapon, boolean shieldDeploy) { + super(id, position, energy, weapon, shieldDeploy); } } diff --git a/server/src/main/java/fr/lnl/game/server/games/player/HumanPlayer.java b/server/src/main/java/fr/lnl/game/server/games/player/HumanPlayer.java index 69aae98..935266a 100644 --- a/server/src/main/java/fr/lnl/game/server/games/player/HumanPlayer.java +++ b/server/src/main/java/fr/lnl/game/server/games/player/HumanPlayer.java @@ -4,7 +4,7 @@ import fr.lnl.game.server.games.weapon.Weapon; import fr.lnl.game.server.utils.Point; public class HumanPlayer extends AbstractPlayer{ - public HumanPlayer(int id, Point position, int ernergy, Weapon weapon, boolean shieldDeploy) { - super(id, position, ernergy, weapon, shieldDeploy); + public HumanPlayer(int id, Point position, int energy, Weapon weapon, boolean shieldDeploy) { + super(id, position, energy, weapon, shieldDeploy); } }