|
|
@ -31,7 +31,7 @@ namespace QwirkleClassLibrary
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (this.Cells[i].GetX == x && this.Cells[i].GetY == y)
|
|
|
|
if (this.Cells[i].GetX == x && this.Cells[i].GetY == y)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(Cells[i].SetTile(tile) == true)
|
|
|
|
if (Cells[i].SetTile(tile) == true)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -40,7 +40,7 @@ namespace QwirkleClassLibrary
|
|
|
|
Console.WriteLine("Please enter new coordinates for the cell where you want to place your tile.");
|
|
|
|
Console.WriteLine("Please enter new coordinates for the cell where you want to place your tile.");
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Console.WriteLine("The cell you're searching for doesn't exist. PLease enter new coordinates for the cell where you want to place your tile.");
|
|
|
|
Console.WriteLine("The cell you're searching for doesn't exist. PLease enter new coordinates for the cell where you want to place your tile.");
|
|
|
|