Esempio n. 1
0
        public SelfHealing(Actor self, SelfHealingInfo info)
        {
            this.info = info;

            health = self.Trait <Health>();

            // Disable if an upgrade is required
            disabled = info.RequiresUpgrade != null;
        }
Esempio n. 2
0
 public SelfHealing(SelfHealingInfo info)
 {
     Info = info;
 }