예제 #1
0
 public void Draw(SpriteBatch spriteBatch)
 {
     _shadow.Draw(spriteBatch);
     if (_animation.ContainsKey(_animationKey))
     {
         _animation[_animationKey].Draw(spriteBatch);
     }
 }
예제 #2
0
        public override void DrawUI(SpriteBatch spriteBatch)
        {
            if (!_itemOn)
            {
                _itemMenu.Draw(spriteBatch);
            }

            if (_Uirect.Select)
            {
                _Uirect.Draw(spriteBatch);
            }
        }
예제 #3
0
 public void Draw(SpriteBatch spriteBatch)
 {
     _ItemSprite.Draw(spriteBatch);
 }