Exemplo n.º 1
0
        public override void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            base.Draw(gameTime, spriteBatch);

            if (_shields.Active)
            {
                _shields.Draw(gameTime, spriteBatch);
            }

            _weaponManager.Draw(gameTime, spriteBatch);
        }
Exemplo n.º 2
0
        public override void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            base.Draw(gameTime, spriteBatch);


            borderLeft.Draw(gameTime, spriteBatch);
            borderRight.Draw(gameTime, spriteBatch);
            angularLeft.Draw(gameTime, spriteBatch);
            angularRight.Draw(gameTime, spriteBatch);
            center.Draw(gameTime, spriteBatch);

            for (int i = 0; i < 7; i++)
            {
                DrawLines(spriteBatch, (int)position + 300 * i, borderSize);
            }
        }