Beispiel #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;
        }
Beispiel #2
0
 public SelfHealing(SelfHealingInfo info)
 {
     Info = info;
 }