Beispiel #1
0
 public Character(string name)
 {
     HP = new Int32ValueObject(100000);
     HP.OnValueChanged += OnHPChanged;
     GameBuffManager    = new Manager.GameBuffManager(this);
     m_characterName    = name;
 }
Beispiel #2
0
 public Character(Character from)
 {
     HP = new Int32ValueObject(from.HP.Value);
     HP.OnValueChanged += OnHPChanged;
     arms            = from.arms;
     head            = from.head;
     feet            = from.feet;
     body            = from.body;
     GameBuffManager = new Manager.GameBuffManager(this);
 }