add load and save functions to classes
move files update character creater to allowing to stack classes
This commit is contained in:
@@ -24,7 +24,8 @@ if __name__ == '__main__':
|
||||
}
|
||||
|
||||
game_board = GameBoard(CONFIG, SAVE_STATE_FILE, MAP_FILE)
|
||||
game_board.find_save_state()
|
||||
game_board.find_game_state()
|
||||
game_board.user_input()
|
||||
|
||||
game_board.save_to_file(game_board.saved_state, game_board.save_state_file)
|
||||
print(game_board.saved_state)
|
||||
game_board.save_game_state()
|
||||
|
||||
Reference in New Issue
Block a user