Inheritance: ITraitInfo
Exemplo n.º 1
0
 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>();
 }
Exemplo n.º 2
0
 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>();
 }
Exemplo n.º 3
0
		public Captures(Actor self, CapturesInfo info)
		{
			Info = info;
		}
Exemplo n.º 4
0
 public Captures(Actor self, CapturesInfo info)
 {
     Info = info;
 }
Exemplo n.º 5
0
 public CaptureOrderTargeter(CapturesInfo info)
     : base("CaptureActor", 6, info.EnterCursor, true, true)
 {
     capturesInfo = info;
 }
Exemplo n.º 6
0
 public CaptureProperties(ScriptContext context, Actor self)
     : base(context, self)
 {
     normalInfo = Self.Info.TraitInfoOrDefault<CapturesInfo>();
     externalInfo = Self.Info.TraitInfoOrDefault<ExternalCapturesInfo>();
 }
Exemplo n.º 7
0
 public Captures(CapturesInfo info)
 {
     Info = info;
 }