no doc in git and add tokens on players

This commit is contained in:
Aubin DORIVAL
2025-04-07 10:00:50 +02:00
parent 25279e30e3
commit cdf1699559
77 changed files with 17 additions and 8887 deletions

View File

@@ -13,6 +13,8 @@ abstract class Player{
/** The color of the Player */
protected Color color;
int tokens;
//------------------Constructors--------------------------
@@ -21,9 +23,10 @@ abstract class Player{
* @param name The name of the player.
* @param color The color of the player.
*/
public Player(String name,Color color){
public Player(String name,Color color, int tokens){
this.name = name;
this.color = color;
this.tokens= tokens;
}
//------------------Gets--------------------------