add players basis

This commit is contained in:
Katchan 2021-10-15 18:52:44 +02:00
parent 1c806704f1
commit 77a2800a78
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}