public ExternalCaptureActor(Actor self, Target target) { this.target = target; capturable = target.Actor.Trait <ExternalCapturable>(); capturesInfo = self.Info.TraitInfo <ExternalCapturesInfo>(); mobile = self.Trait <Mobile>(); }
public ExternalCaptureActor(Actor self, Target target) { this.target = target; capturable = target.Actor.Trait <ExternalCapturable>(); capturesInfo = self.Info.TraitInfo <ExternalCapturesInfo>(); mobile = self.Trait <Mobile>(); conditionManager = self.TraitOrDefault <ConditionManager>(); }