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