public void LoadList() { string[] LP = SaveAndLoadTBM.LoadIndexToLP(); LastPoint = LP[0]; int indexOne = 3; int[] IndexToList = SaveAndLoadTBM.LoadIndexToList(); IndexRoomForlist = IndexToList[0]; CheckOnTheEnemy = IndexToList[1]; string[] LogForDTBM = SaveAndLoadTBM.LoadTBM(); PathToLevels = LogForDTBM[0]; PathNameRoom = LogForDTBM[1]; RoomCheck = LogForDTBM[2]; for (int index = 0; index < 89; index++) { indexOne++; ListNameRooms[index] = LogForDTBM[indexOne]; } string[] SaveRN = SaveAndLoadTBM.LoadRoomNumber(); for (int index = 0; index < 89; index++) { ListRoomsNumbers[index] = SaveRN[index]; } }
public void SaveList() { SaveAndLoadTBM.SaveRoomNumber(this); SaveAndLoadTBM.SaveTBM(this); SaveAndLoadTBM.SaveIndexToList(this); }
public void LoadTransitions() { int[] DataScore = SaveAndLoadTBM.LoadScore(); CurrentScoreTransitions = DataScore[0]; TextForScore.text = "" + CurrentScoreTransitions; }
public void SaveLP() { SaveAndLoadTBM.SaveIndexToLP(this); }
public void SaveTransitions() { SaveAndLoadTBM.SaveScore(this); }