示例#1
0
        public override void TransferDataFromSavedLocation(GameLocation l)
        {
            base.TransferDataFromSavedLocation(l);
            IslandFieldOffice loc = l as IslandFieldOffice;

            uncollectedRewards.Clear();
            uncollectedRewards.Set(loc.uncollectedRewards);
            piecesDonated.Clear();
            piecesDonated.Set(loc.piecesDonated);
            centerSkeletonRestored.Value = loc.centerSkeletonRestored.Value;
            snakeRestored.Value          = loc.snakeRestored.Value;
            batRestored.Value            = loc.batRestored.Value;
            frogRestored.Value           = loc.frogRestored.Value;
            plantsRestoredLeft.Value     = loc.plantsRestoredLeft.Value;
            plantsRestoredRight.Value    = loc.plantsRestoredRight.Value;
            hasFailedSurveyToday.Value   = loc.hasFailedSurveyToday.Value;
        }