From 77a2800a78016e5bd49042c100fbefc0d2356a5c Mon Sep 17 00:00:00 2001 From: Katchan Date: Fri, 15 Oct 2021 18:52:44 +0200 Subject: [PATCH] add players basis --- .../java/fr/lnl/game/server/games/player/ComputerPlayer.java | 4 ++-- .../java/fr/lnl/game/server/games/player/HumanPlayer.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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); } }