Ejemplo n.º 1
0
 public TransformCrusherOnCrush(ActorInitializer init, TransformCrusherOnCrushInfo info)
 {
     this.info = info;
     faction   = init.GetValue <FactionInit, string>(init.Self.Owner.Faction.InternalName);
 }
Ejemplo n.º 2
0
 public TransformCrusherOnCrush(ActorInitializer init, TransformCrusherOnCrushInfo info)
 {
     this.info = info;
     faction   = init.Contains <FactionInit>() ? init.Get <FactionInit, string>() : init.Self.Owner.Faction.InternalName;
 }