constructeur dans les humain et ai

This commit is contained in:
Cyprien111
2025-04-07 08:30:36 +02:00
parent 707ad73291
commit e27f842198
3 changed files with 26 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ abstract class Player{
* @param name The name of the player.
* @param color The color of the player.
*/
public void Player(String name,Color color){
public Player(String name,Color color){
this.name = name;
this.color = color;
}