few things to be changed (read comments)

test_old_branch
Jules LASCRET 1 year ago
parent 9fab296d77
commit b620482632

@ -11,7 +11,7 @@ namespace QwirkleClassLibrary
private string nameTag; private string nameTag;
private List<Tile> tiles; private List<Tile> tiles;
private bool isPlaying = false; private bool isPlaying = false;
private Score s; private Score s; // Les gars, on nous a demandé de ne pas ça, réfléchissez
public Player(string name) public Player(string name)
{ {
@ -21,7 +21,7 @@ namespace QwirkleClassLibrary
Console.WriteLine("Player created. Name : " + nameTag + "\n"); Console.WriteLine("Player created. Name : " + nameTag + "\n");
} }
public Player() public Player() // À enlever c'est pas logique
{ {
nameTag = "Unknow"; nameTag = "Unknow";
tiles = new List<Tile>(); tiles = new List<Tile>();
@ -48,7 +48,7 @@ namespace QwirkleClassLibrary
tiles.Remove(tile); tiles.Remove(tile);
} }
public List<Tile> Tiles public List<Tile> Tiles // Rajouter un "get" là
{ {
get{ return tiles; } get{ return tiles; }

Loading…
Cancel
Save