Beispiel #1
0
 public void OpenNextStage()
 {
     if (LoadNextStage() == "0")
     {
         CS_GameSave.SaveGame("stage" + (int.Parse(stage) + 1).ToString(), "level1", "1");
     }
 }
Beispiel #2
0
 public void OpenNextLevel()
 {
     if (LoadNext() == "0")
     {
         CS_GameSave.SaveGame("stage" + stage, "level" + (int.Parse(level) + 1).ToString(), "1");
     }
 }
Beispiel #3
0
 void Start()
 {
     CS_GameSave.CreatGameSave();
     if (CS_GameSave.LoadGame("stage1", "level1") == "0")
     {
         CS_GameSave.SaveGame("stage1", "level1", "1");
     }
     stage = "0";
     level = "0";
 }
Beispiel #4
0
 public void Save(string t_status)
 {
     CS_GameSave.SaveGame("stage" + stage, "level" + level, t_status);
 }