public SpawnRobotEffect(TripleThunderRobotParams Params)
     : base(Name, false, Params)
 {
     _Team        = 0;
     _AIPath      = string.Empty;
     _RobotPath   = string.Empty;
     _ListWeapons = new List <string>();
 }
Beispiel #2
0
 /// <summary>
 /// Used for reflection
 /// </summary>
 /// <param name="EffectTypeName"></param>
 /// <param name="EffectContext"></param>
 public TripleThunderRobotEffect(string EffectTypeName, bool IsPassive, TripleThunderRobotParams Params)
     : base(EffectTypeName, IsPassive)
 {
     if (Params != null)
     {
         this.Params = new TripleThunderRobotParams(Params);
     }
 }
Beispiel #3
0
 public TripleThunderRobotParams(TripleThunderRobotParams Clone)
     : this(Clone.GlobalContext)
 {
     LocalContext.Map                  = GlobalContext.Map;
     LocalContext.ActiveLayer          = GlobalContext.ActiveLayer;
     LocalContext.Target               = GlobalContext.Target;
     LocalContext.TargetWeapon         = GlobalContext.TargetWeapon;
     LocalContext.TargetWeaponAngle    = GlobalContext.TargetWeaponAngle;
     LocalContext.TargetWeaponPosition = GlobalContext.TargetWeaponPosition;
 }
Beispiel #4
0
 public DamageEffect(TripleThunderRobotParams Params)
     : base(Name, false, Params)
 {
 }
 public ResetMinHeightEffect(TripleThunderRobotParams Params)
     : base(Name, false, Params)
 {
 }
 public RotateWeaponEffect(TripleThunderRobotParams Params)
     : base(Name, false, Params)
 {
     _Angle             = 0;
     _ActiveWeaponIndex = 0;
 }
Beispiel #7
0
 public ShootWeaponEffect(TripleThunderRobotParams Params)
     : base(Name, false, Params)
 {
 }
Beispiel #8
0
 public SetRobotSpeedEffect(TripleThunderRobotParams Params)
     : base(Name, false, Params)
 {
 }
Beispiel #9
0
 public TripleThunderRobotEffect(string EffectTypeName, bool IsPassive)
     : base(EffectTypeName, IsPassive)
 {
     Params = null;
 }
 public RotateRobotEffect(TripleThunderRobotParams Params)
     : base(Name, false, Params)
 {
     _Angle = 0;
 }
 public InverseRobotSpeedEffect(TripleThunderRobotParams Params)
     : base(Name, false, Params)
 {
     _InverseDirection = InverseDirections.Horizontal;
 }