Exemplo n.º 1
0
        public static bool Display()
        {
            currentCost = 0;
            var ready  = DisplayInner();
            var launch = DisplayFooter(currentCost, ready);

            if (launch)
            {
                MissionController.StartMission(Mission.CreateTransport(
                                                   targetVesselSelector.targetVessel,
                                                   missionProfileSelector.selectedProfile,
                                                   payloadResourceSelector.selectedResources,
                                                   payloadResourceSelector.selectedCrewTransfers
                                                   ));
                KSTS.AddFunds(-currentCost);
                Reset();
                return(true);
            }
            return(false);
        }