コード例 #1
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.Black);

            GraphicsDevice.SamplerStates[0] = SamplerState.PointWrap;
            playingLevel.Draw();
            player.Draw();

            // UI
            instruction.Draw();
            progression.Draw();
            score.Draw();
            bottomMenu.Draw();

            if (isInLevelEditMode)
            {
                editor.Draw();
            }

            base.Draw(gameTime);
        }