예제 #1
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Palette.MidnightBlack);

            switch (GameMode)
            {
            case Mode.Playfield:
                Playfield.Draw(spriteBatch);
                break;
            }

            StaticCamera.Draw(spriteBatch);
            base.Draw(gameTime);
        }
예제 #2
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(PICO8.SkyBlue);

            switch (GameMode)
            {
            case Mode.Menu:
                break;

            case Mode.Playfield:
                Playfield.Draw(spriteBatch);
                HUD.Draw(spriteBatch);
                break;
            }

            StaticCamera.Draw(spriteBatch);
            base.Draw(gameTime);
        }