add players basis
This commit is contained in:
parent
1c806704f1
commit
77a2800a78
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user