public override void Draw(GameTime gameTime)
        {
            if (_currentTemperatureSprite == null)
            {
                return;
            }

            _currentTemperatureSprite.Draw(gameTime);
        }
Exemple #2
0
        public override void Draw(GameTime gameTime)
        {
            if (_currentLavaHealthSprite != null)
            {
                _currentLavaHealthSprite.Draw(gameTime);
            }

            if (_currentIceHealthSprite != null)
            {
                _currentIceHealthSprite.Draw(gameTime);
            }
        }