Пример #1
0
 public virtual void DrawCharacter(SpriteBatch spriteBatch)
 {
     CharacterSprite.Draw(spriteBatch, new Vector2(BoundingRectangle.X, BoundingRectangle.Y));
 }
Пример #2
0
 public override void DrawCharacter(SpriteBatch spriteBatch)
 {
     _bottomSprite.Draw(spriteBatch, new Vector2(BoundingRectangle.X, BoundingRectangle.Y));
     base.DrawCharacter(spriteBatch);
     _particleEffects.ForEach(particle => spriteBatch.Draw(particle));
 }