fix of fusion

test_old_branch
Jérémy Mouyon 1 year ago
parent b213356970
commit fecfdf40fd

@ -36,7 +36,7 @@ public class Cell
get { return tile; } get { return tile; }
} }
public bool SetTile(Tile? addedTile) public bool SetTile(Tile addedTile)
{ {
if(tile == null) if(tile == null)
{ {

@ -74,7 +74,7 @@ namespace QwirkleClassLibrary
players[old].IsPlaying = false; players[old].IsPlaying = false;
} }
players[neew].IsPlaying = true; players[neew].IsPlaying = true;
Console.WriteLine(players[neew].GetName + "you have main now !"); Console.WriteLine(players[neew].GetNameTag + "you have main now !");
} }

@ -14,7 +14,7 @@ namespace QwirkleClassLibrary
public Score(Player p) public Score(Player p)
{ {
score = 0; score = 0;
playerTag = p.GetName; playerTag = p.GetNameTag;
} }
} }

@ -10,7 +10,6 @@ namespace QwirkleClassLibrary
public class Tile public class Tile
{ {
private Shape shape; private Shape shape;
private Color color; private Color color;
public Tile(Shape sh, Color co) public Tile(Shape sh, Color co)
{ {

Loading…
Cancel
Save