public GameTrigger <TTriggerType> Clone(GameTrigger <TTriggerType> outputType) { GameTrigger <TTriggerType> clone = new GameTrigger <TTriggerType>(); clone.CopyFrom(this); return(clone); }
public void CopyFrom(GameTrigger <TTriggerType> original) { this.EffectToTrigger = original.EffectToTrigger; this.Repeat = original.Repeat; }
public void Add_BeforeReceiveDamage_Trigger(GameTrigger <Specific_LifeEffect> trigger) { this.beforeReceivingDamage_Triggers.Add(trigger); }
public void Add_AfterDeath_Trigger(GameTrigger <GameEffect> trigger) { this.afterDeath_triggers.Add(trigger); }
public void Add_AfterPlayCard_Trigger(GameTrigger <GameEffect> trigger) { this.afterPlay_triggers.AddLast(trigger); //this.afterPlay_triggers.GetWritable().Add(trigger); }