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

            renderer.BlueCastle.Sprite.Rectangle = new Rectangle(65, 0, renderer.BlueCastle.Sprite.Rectangle.Width, renderer.BlueCastle.Sprite.Rectangle.Height);
            renderer.DrawBlueCastle();

            renderer.DrawMainCharacter();
            renderer.UpdateMainCharacter();
        }
        public override void Draw(MonoGameRenderer renderer)
        {
            renderer.DrawBlackBackground();
            renderer.DrawBlueCastle();
            renderer.DrawRedCastle();
            renderer.DrawGreenCastle();

            renderer.BlueButton.Sprite.Rectangle = new Rectangle(175, 500, 250, 80);
            renderer.GreenButton.Sprite.Rectangle = new Rectangle(875, 500, 250, 80);
            renderer.RedButton.Sprite.Rectangle = new Rectangle(530, 500, 250, 80);

            renderer.DrawSchoolSelectButtons();
        }