Example #1
0
        //------------------------------------------------------------------------/
        // Methods
        //------------------------------------------------------------------------/
        public CombatTrigger Copy(CombatTrigger rhs)
        {
            var trigger = new CombatTrigger();

            trigger.Inputs = rhs.Inputs.Clone();
            return(trigger);
        }
Example #2
0
        object ICloneable.Clone()
        {
            var trigger = new CombatTrigger();

            trigger.Inputs = Inputs.Clone();
            return(trigger);
        }
Example #3
0
 //----------------------------------------------------------------------/
 // Constructor
 //----------------------------------------------------------------------/
 public Instance(CombatTrigger trigger, CombatController caster, Type type, float duration)
 {
     Trigger  = trigger;
     Caster   = caster;
     Duration = duration;
     Elapsed  = 0.0f;
     //Trace.Script("Caster = " + caster.Name + ", Duration = " + Duration, caster);
 }