Esempio n. 1
0
 public Card(CardShape _shape, ShapeCount _shapeCount, ShapeColor _shapeColor, ShapeFill _shapeFill)
 {
     Shape      = _shape;
     ShapeCount = _shapeCount;
     ShapeColor = _shapeColor;
     ShapeFill  = _shapeFill;
     IsClicked  = false;
 }
Esempio n. 2
0
        public static int GetInt(ShapeCount count)
        {
            switch (count)
            {
            case ShapeCount.One: return(1);

            case ShapeCount.Two: return(2);

            default: return(3);
            }
        }
Esempio n. 3
0
 override public String ToString()
 {
     return("Card(" + Shape.ToString() + ", " + ShapeCount.ToString() + ", " + ShapeColor.ToString() + ", " + ShapeFill.ToString() + ")");
 }