Exemplo n.º 1
0
 void LevelLoading()
 {
     if (currentRoom.WhatIsTheRoomUsedFor != "Class selection" && characteristicsHero == true)
     {
         characteristicsHero.LoadCharacteristicsHero();
     }
     if (characteristicsHero)
     {
         CharacterNameOutput = "\n" + characteristicsHero.Name + ": ";
     }
     if (battleScript == true)
     {
         if (currentRoom.boss == false)
         {
             battleScript.characteristicsEnemy.ChoosingTheEnemy(Language);
         }
         else
         {
             battleScript.characteristicsEnemy.ChoosingTheEnemyBoss(Language);
         }
         battleScript.LaunchBattle();
     }
     if (supplementForHero == true)
     {
         supplementForHero.load();
     }
     if (currentRoom.SwitchBetweenBattleAndTravel == false)
     {
         LoadTBSAnd();
     }
     else
     {
         NewGame();
     }
 }
 public void LaunchBattle()
 {
     AssignsVariablesHero();
     AssignsVariablesEnemy();
     supplementForHero.load();
 }