public GameSaveData() { ActionManagerData = new ActionManagerData(); BuildingManagerData = new BuildingManagerData(); TimeManagerData = new TimeManagerData(); CoopManagerData = new CoopManagerData(); UserDataManagerData = new UserDataManagerData(); InvestigationManagerData = new InvestigationManagerData(); LogicManagerData = new LogicManagerData(); CanalManagerData = new CanalManagerData(); PenalizationManagerData = new PenalizationManagerData(); PhaseManagerData = new PhaseManagerData(); PlagueManagerData = new PlagueManagerData(); RankingManagerData = new RankingManagerData(); RiceObjectManagerData = new RiceObjectManagerData(); WeedFactoryData = new WeedFactoryData(); WorkerManagerData = new WorkerManagerData(); WorldTerrainData = new WorldTerrainData(); tutorialManagerData = new TutorialManagerData(); }
public void load(PenalizationManagerData penalizationManagerData) { m_chunkDisabled = penalizationManagerData.ChunkDisabled; m_chunkPenalization = penalizationManagerData.ChunkPenalization; m_chunkPenalizationPoints = penalizationManagerData.ChunkPenalizationPoints; }
public void save(PenalizationManagerData penalizationManagerData) { penalizationManagerData.ChunkDisabled = m_chunkDisabled; penalizationManagerData.ChunkPenalization = m_chunkPenalization; penalizationManagerData.ChunkPenalizationPoints = m_chunkPenalizationPoints; }