public static void LoadInitialLevel(GameLevel pLevel) { Loading = true; currentLevel = pLevel; currentLevel.Load(); Loading = false; }
public static void SwitchLevel(GameLevel pLevel) { Loading = true; currentLevel.Unload(); currentLevel = null; currentLevel = pLevel; currentLevel.Load(); Loading = false; }