Пример #1
0
        public void SetupTestLevelRun(LevelEntry levelEntry, float startTime)
        {
            StatsManager.RestoreShipHealthToMax();
            Boolean isMapCreatorRun = false;

            testRunLevel = new MapCreatorLevel(Game, spriteSheet, player, levelEntry.FilePath, levelEntry.FilePath, levelEntry.MissionType, isMapCreatorRun);
            testRunLevel.SetCustomStartTime(startTime);
            levels.Add(testRunLevel);
        }
Пример #2
0
        public void SetupMapCreatorTestRun(String filePath, float startTime)
        {
            StatsManager.RestoreShipHealthToMax();
            Boolean isMapCreatorRun = true;

            testRunLevel = new MapCreatorLevel(Game, spriteSheet, player, "testRun", filePath, MissionType.none, isMapCreatorRun);
            testRunLevel.SetCustomStartTime(startTime);
            levels.Add(testRunLevel);
        }