addSavedGame function
- GameData gameData
Implementation
void addSavedGame(GameData gameData) {
UserData userData = UserData();
userData.savedGames.insert(0, gameData);
}
void addSavedGame(GameData gameData) {
UserData userData = UserData();
userData.savedGames.insert(0, gameData);
}