Example #1
0
 public void NextStageLevelLoad()
 {
     activeLevelConfiguration.IncreaseStageLevelNumber();
     OnStageLevelChanged?.Invoke(activeLevelConfiguration.StageLevelNumberInfo());
     ChangeConfigurationsValuesOnWinStageLevel();
     Debug.Log("Win and increased stage level");
     DefaultLevel.Load(activeLevelConfiguration);
 }
Example #2
0
 public void RefundLevelSettings()
 {
     ResetLevel();
     activeLevelConfiguration.RefundLevelSettings(startLevelConfigurationParameters);
     DefaultLevel.Load(activeLevelConfiguration);
 }
Example #3
0
 public void RestartLevel()
 {
     DefaultLevel.Load(activeLevelConfiguration);
 }
 public void LoadLevel(ActiveLevelConfiguration activeLevelConfiguration)
 {
     DefaultLevel.Load(activeLevelConfiguration);
 }
 public void NextStageLevelLoad(ActiveLevelConfiguration activeLevelConfiguration)
 {
     DefaultLevel.Load(activeLevelConfiguration);
 }
 public void ActivateLevel(LevelConfiguration levelConfiguration)
 {
     activeLevelConfiguration.ResetStageLevelNumber();
     activeLevelConfiguration.ChangeParameters(levelConfiguration.Parameters);
     DefaultLevel.Load(activeLevelConfiguration);
 }