Ejemplo n.º 1
0
 public Abilities(Bot owner, int hp, int mp)
 {
     this.hp    = new StatePoint(hp);
     this.mp    = new StatePoint(mp);
     this.owner = owner;
     DataInitialization();
 }
Ejemplo n.º 2
0
 public Abilities(Bot owner)
 {
     this.owner = owner;
     this.hp    = new StatePoint(1);
     this.mp    = new StatePoint(1);
     DataInitialization();
 }
Ejemplo n.º 3
0
 private void DataInitialization()
 {
     heat                = new StatePoint(100, 100);
     power               = 1;
     hp.OnValueChange   += Hp_OnValueChange;
     heat.OnValueChange += Heat_OnValueChange;
     mp.OnValueChange   += Mp_OnValueChange;
 }