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();
        }
示例#2
0
 public override void Draw(MonoGameRenderer renderer)
 {
     if (renderer.MainHero.HasWon)
     {
         renderer.DrawBlackBackground();
         renderer.DrawWinLogo();
         renderer.DrawGoBackButton();
     }
     else
     {
         renderer.DrawLoserBackground();
         renderer.DrawGoBackButton();
     }
 }