Exemplo n.º 1
0
 public void Draw(Graphics graphics, Square square, bool monochrome = false)
 {
     var rect = square.GetRectangle();
     if (monochrome)
         graphics.DrawImageUnscaled(Grayscale(Images.GetSquareImage(square, this[square])), rect);
     else
         graphics.DrawImageUnscaled(Images.GetSquareImage(square, this[square]), rect);
 }