Example #1
0
        public override void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            _game.GraphicsDevice.Clear(Color.CornflowerBlue);
            spriteBatch.Begin();

            background.Draw();
            foreach (Item obj in objects)
            {
                obj.Draw();
            }

            mainChar.Draw();
            ban.Draw();
            //gDebug.Draw();
            ConstVar.UI.Draw();
            spriteBatch.End();
        }