예제 #1
0
        public override void LoadSave(object obj)
        {
            RateServiceSave save = obj as RateServiceSave;

            if (save != null)
            {
                save.Validate();
                ShowedMap.Clear();
                ShowedMap.CopyFrom(save.showedMap);
                IsRateCompleted = save.isRateCompleted;
                IsLoaded        = true;
            }
            else
            {
                LoadDefaults();
            }
        }
예제 #2
0
 public override void LoadDefaults()
 {
     ShowedMap.Clear();
     IsRateCompleted = false;
     IsLoaded        = true;
 }