Esempio n. 1
0
 public AsignVariableTrigger(FightingZone Map)
     : base(Map, 140, 70, "Asign Variable Event", new string[] { "Asign Variable" }, new string[] { "Variable asigned" })
 {
     _VariableName = "";
     _Value        = 0;
     _SignOperator = Operators.SignOperators.Equal;
 }
 public ChangeAttackSpeedEffect(ProjectileParams Params)
     : base(Name, false, Params)
 {
     _Speed        = 0;
     _NumberType   = Operators.NumberTypes.Absolute;
     _SignOperator = Operators.SignOperators.Equal;
 }
 public ChangeAttackSpeedEffect()
     : base(Name, false)
 {
     _Speed        = 0;
     _NumberType   = Operators.NumberTypes.Absolute;
     _SignOperator = Operators.SignOperators.Equal;
 }
        protected override void DoCopyMembers(BaseEffect Copy)
        {
            ChangeAttackSpeedEffect NewEffect = (ChangeAttackSpeedEffect)Copy;

            _Speed        = NewEffect._Speed;
            _NumberType   = NewEffect._NumberType;
            _SignOperator = NewEffect._SignOperator;
        }
Esempio n. 5
0
 public override void Load(BinaryReader BR)
 {
     VariableName  = BR.ReadString();
     Value         = BR.ReadDouble();
     _SignOperator = (Operators.SignOperators)BR.ReadByte();
 }
 protected override void Load(BinaryReader BR)
 {
     _Speed        = BR.ReadSingle();
     _NumberType   = (Operators.NumberTypes)BR.ReadByte();
     _SignOperator = (Operators.SignOperators)BR.ReadByte();
 }