Example #1
0
 public void RecoveryState(RoleStateMemento memento)
 {
     this.vit=memento.Vit;
     this.atk=memento.Atk;
     this.def=memento.Def;
 }
Example #2
0
 public void RecoveryState(RoleStateMemento memento)
 {
     this.Vit     = memento.Vit;
     this.Attack  = memento.Attack;
     this.Defense = memento.Defense;
 }