public void Draw()
 {
     if (HP > 0)
     {
         Engine.Instance.SpriteBatch.Draw(BlockBG, CollisionRect.ToRect(), DrawColor);
         Engine.Instance.SpriteBatch.Draw(BlockShine, CollisionRect.ToRect(), Color.White);
     }
 }
 public void Draw()
 {
     Engine.Instance.SpriteBatch.Draw(Texture, CollisionRect.ToRect(), Color.White);
 }
Exemple #3
0
 public void Draw()
 {
     Engine.Instance.SpriteBatch.Draw(Texture, CollisionRect.ToRect(), null, Color.White, 0f, Vector2.Zero, Effects, 1f);
 }