Пример #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>();
 }
Пример #2
0
 public ExternalCaptures(Actor self, ExternalCapturesInfo info)
 {
     Info = info;
 }
Пример #3
0
		public ExternalCaptures(Actor self, ExternalCapturesInfo info)
		{
			Info = info;
		}
Пример #4
0
 public CaptureProperties(ScriptContext context, Actor self)
     : base(context, self)
 {
     normalInfo = Self.Info.TraitInfoOrDefault<CapturesInfo>();
     externalInfo = Self.Info.TraitInfoOrDefault<ExternalCapturesInfo>();
 }