コード例 #1
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.Black);//Color.CornflowerBlue);
            spriteBatch.Begin();
            // TODO: Add your drawing code here

            float elapsedms = (float)gameTime.ElapsedGameTime.TotalMilliseconds;

            // now render all UIs
            UIBoss.Draw(elapsedms, GraphicsDevice, spriteBatch, InputManager);

            // draw cursor
            InputManager.Render(GraphicsDevice, spriteBatch);

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