public SquareItem ( Square square, Figure figure, Color color ) : System | ||
square | Square | |
figure | Figure | |
color | Color | |
return | System |
public SquareItem(Square square, Figure figure, Color color)
{
this.innerSquare = square;
this.SetBackgroundColor(square);
this.FigureType = figure;
this.FigureColor = color;
this.ColoredFigure = ColoredFigureHelper.Create(color, figure);
}