public void Draw(SpriteBatch iSpriteBatch)
 {
     if (drawingShape != null && moving)
     {
         drawingShape.Draw(iSpriteBatch, 0.5f);
     }
 }
示例#2
0
 public void Draw(SpriteBatch iSpriteBatch)
 {
     if (drawingShape != null)
     {
         drawingShape.Draw(iSpriteBatch);
     }
 }
 public void Draw(SpriteBatch iSpriteBatch)
 {
     if (currentShape != null && drawing)
     {
         currentShape.Draw(iSpriteBatch);
     }
 }
示例#4
0
 //TODO: Fix override bullshit with virtual
 public override void Draw(SpriteBatch iSpriteBatch, float iAlpha = 1)
 {
     decoratedShape.Draw(iSpriteBatch);
     OnDraw(iSpriteBatch);
 }