using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QwirkleClassLibrary.Tiles { public class Tile { private readonly Shape shape; private readonly Color color; public Tile(Shape sh, Color co) { shape = sh; color = co; } public string NameColorTile() { return color.ToString() + shape.ToString(); } public Shape GetShape { get { return shape; } } public Color GetColor { get { return color; } } public override string ToString() { return color.ToString() + " " + shape.ToString(); } } }