예제 #1
0
 public void RevcoveryState(RoleStateMemento memento)
 {
     this.Vit = memento.Vitality;
     this.Atk = memento.Attack;
     this.Def = memento.Defense;
 }
예제 #2
0
 public void RecoveryState(RoleStateMemento memento)
 {
     this.vit = memento.Vitality;
     this.atk = memento.Attack;
     this.def = memento.Defence;
 }
예제 #3
0
 //恢复角色状态
 public void RecoveryState(RoleStateMemento memento)
 {
     this.vit = memento.Vitality;
     this.atk = memento.Attack;
     this.def = memento.Defense;
 }