Пример #1
0
 public void AddXP(int amount)
 {
     level.AddXP(amount);
     alert.Alert("+" + amount + "xp");
     events.DispatchEvent("onPlayerXPUpdated");
 }
Пример #2
0
 public virtual void Die()
 {
     PlayerLevel.AddXP(XPValue);
 }