Esempio n. 1
0
 public void Draw()
 {
     if (IsVisible)
     {
         GfxTools.DrawFullSquare((int)position.X, (int)position.Y, (int)position.X + width, (int)position.Y + width, color.R, color.G, color.B);
     }
 }
Esempio n. 2
0
 public void Draw()
 {
     GfxTools.DrawFullSquare((int)(Position.X - width / 2), (int)(Position.Y - height / 2), (int)(Position.X + width / 2), (int)(Position.Y + height / 2), color.R, color.G, color.B);
 }
Esempio n. 3
0
 public void Draw()
 {
     GfxTools.DrawFullSquare((int)position.X, (int)position.Y, (int)(position.X + width), (int)(position.Y + height), rectColor.R, rectColor.G, rectColor.B);
 }