public override void ReCover(Memento memento)
 {
     this.RoleBlood = memento.Blood;
      this.RoleMagic = memento.Magic;
      this.RoleName = memento.Name;
 }
Пример #2
0
 public override void ReCover(Memento memento)
 {
     this.RoleBlood = memento.Blood;
     this.RoleMagic = memento.Magic;
     this.RoleName  = memento.Name;
 }
 public abstract void ReCover(Memento memento);
Пример #4
0
 public abstract Memento SetMemento();          //设置备忘录
 public abstract void ReCover(Memento memento); //根据备忘录Memento恢复角色信息