Ejemplo n.º 1
0
 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>();
 }