Beispiel #1
0
 private void SkipForward()
 {
     game.player.position  = Destination.position;
     game.camera.cameraPos = game.player.position;
     PopupHandler.SkipRealTimeMessages();
     ships[0].HasArrived = true;
     for (int i = 0; i < portraits.Count; i++)
     {
         PopupHandler.DisplayPortraitMessage(portraits[0], portraitTriggers[0], timedMessages.Keys.First());
         portraits.RemoveAt(0);
         portraitTriggers.RemoveAt(0);
         timedMessages.Remove(timedMessages.Keys.First());
     }
     skip = true;
 }
Beispiel #2
0
        private void SkipForward()
        {
            PopupHandler.SkipRealTimeMessages();
            timedMessageCount = timedMessages.Count;

            foreach (OverworldShip ship in enemies)
            {
                if (game.stateManager.overworldState.GetAllOverworldGameObjects.Contains(ship))
                {
                    game.stateManager.overworldState.RemoveOverworldObject(ship);
                }
            }

            if (enemies.Count > 0)
            {
                numberOfEnemyShips--;
                StartEnemyLevel(0, levels[levelIndex]);
            }
            else
            {
                escortDataCapsule.ShipToDefend.HasArrived = true;
                skip = true;
            }
        }
Beispiel #3
0
 private void SkipForward()
 {
     PopupHandler.SkipRealTimeMessages();
     ObjectiveIndex     = 6;
     freighter.position = rebelShips[0].position + SkipWaitFreighterOffset;
 }