Beispiel #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);
     }
 }
Beispiel #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);
 }
Beispiel #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);
 }