public CaptureActor(Actor self, Actor target) : base(self, target) { actor = target; capturesInfo = self.Info.Traits.Get <CapturesInfo>(); capturable = target.Trait <Capturable>(); }
public CaptureActor(Actor self, Actor target) : base(self, target) { actor = target; capturesInfo = self.Info.Traits.Get<CapturesInfo>(); capturable = target.Trait<Capturable>(); }
public CaptureActor(Actor self, Actor target) : base(self, target, EnterBehaviour.Dispose) { actor = target; building = actor.TraitOrDefault <Building>(); capturesInfo = self.Info.TraitInfo <CapturesInfo>(); capturable = target.Trait <Capturable>(); health = actor.Trait <Health>(); }
public CaptureActor(Actor self, Actor target) : base(self, target) { actor = target; building = actor.TraitOrDefault <Building>(); capturesInfo = self.Info.Traits.Get <CapturesInfo>(); capturable = target.Trait <Capturable>(); health = actor.Trait <Health>(); }
public CaptureProperties(ScriptContext context, Actor self) : base(context, self) { normalInfo = Self.Info.TraitInfoOrDefault <CapturesInfo>(); externalInfo = Self.Info.TraitInfoOrDefault <ExternalCapturesInfo>(); }