コード例 #1
0
ファイル: KCT_GameStates.cs プロジェクト: Tonweight/KCT
        public static void reset()
        {
            //firstStart = true;
            PartTracker     = new Dictionary <string, int>();
            PartInventory   = new Dictionary <string, int>();
            flightSimulated = false;
            vesselDict      = new Dictionary <string, string>();
            simulationBody  = KCT_Utilities.GetBodyByName("Kerbin");
            simulateInOrbit = false;
            BodiesVisited   = new List <string> {
                "Kerbin"
            };
            TotalUpgradePoints = 0;
            VABUpgrades        = new List <int>()
            {
                0
            };
            SPHUpgrades = new List <int>()
            {
                0
            };
            RDUpgrades = new List <int>()
            {
                0, 0
            };
            PurchasedUpgrades = new List <int>()
            {
                0, 0
            };
            LaunchPadReconditioning = null;
            targetedItem            = null;

            VABList      = new List <KCT_BuildListVessel>();
            VABWarehouse = new List <KCT_BuildListVessel>();
            SPHList      = new List <KCT_BuildListVessel>();
            SPHWarehouse = new List <KCT_BuildListVessel>();
            TechList     = new List <KCT_TechItem>();
        }