Example #1
0
 public override void EmmitMissions(bool force = false)
 {
     if (!PersonInfo.tutorial)
     {
         return;
     }
     if (!force && (GlobalOptions.gameState != GameStates.GAME || IsTimeOut()))
     {
         return;
     }
     if (currentMissions.Count == 0)          //инициализируем текущую
     {
         Mission currentMission = GetOneMissionObject();
         if (currentMission != null)
         {
             currentMissions.Add(currentMission);
         }
         else
         {
             PersonInfo.FinishTutorial();
         }
         CurrentMissionsSerializer.SaveCurrentMissions(currentMissions, misionCurrentTag);
     }
 }
Example #2
0
 public void Skip()
 {
     PersonInfo.FinishTutorial();
     FlyOut();
 }