コード例 #1
0
        public override void Draw()
        {
            scene.GraphicsDevice.Clear(Color.Black);

            spriteBatch.Begin();

            Title.Draw(spriteBatch);
            menu.Draw(spriteBatch);
            scene.spriteBatch.End();
            scene.Layers[10].Draw(spriteBatch);
        }
コード例 #2
0
        public override void Draw()
        {
            scene.GraphicsDevice.Clear(Color.CornflowerBlue);

            spriteBatch.Begin();

            Title.Draw(spriteBatch);
            menu.Draw(spriteBatch);

            spriteBatch.DrawString(Font, "© 2015 Pretendo", new Vector2(175f, 230f), Color.White);

            scene.spriteBatch.End();
        }