Implemented serializable into GameData class