public Card(CardShape _shape, ShapeCount _shapeCount, ShapeColor _shapeColor, ShapeFill _shapeFill) { Shape = _shape; ShapeCount = _shapeCount; ShapeColor = _shapeColor; ShapeFill = _shapeFill; IsClicked = false; }
public static int GetInt(ShapeCount count) { switch (count) { case ShapeCount.One: return(1); case ShapeCount.Two: return(2); default: return(3); } }
override public String ToString() { return("Card(" + Shape.ToString() + ", " + ShapeCount.ToString() + ", " + ShapeColor.ToString() + ", " + ShapeFill.ToString() + ")"); }