no doc in git and add tokens on players
This commit is contained in:
@@ -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--------------------------
|
||||
|
||||
Reference in New Issue
Block a user