示例#1
0
        public override void Draw(MonoGameRenderer renderer)
        {
            renderer.DrawMap(renderer.FireMap);
            renderer.UpdateMap(renderer.FireMap);

            renderer.RedCastle.Sprite.Rectangle = new Rectangle(666, 35, renderer.BlueCastle.Sprite.Rectangle.Width, renderer.BlueCastle.Sprite.Rectangle.Height);
            renderer.DrawRedCastle();

            renderer.DrawMainCharacter();
            renderer.UpdateMainCharacter();
        }