예제 #1
0
        public GameTrigger <TTriggerType> Clone(GameTrigger <TTriggerType> outputType)
        {
            GameTrigger <TTriggerType> clone = new GameTrigger <TTriggerType>();

            clone.CopyFrom(this);
            return(clone);
        }
예제 #2
0
 public void CopyFrom(GameTrigger <TTriggerType> original)
 {
     this.EffectToTrigger = original.EffectToTrigger;
     this.Repeat          = original.Repeat;
 }
예제 #3
0
 public void Add_BeforeReceiveDamage_Trigger(GameTrigger <Specific_LifeEffect> trigger)
 {
     this.beforeReceivingDamage_Triggers.Add(trigger);
 }
예제 #4
0
 public void Add_AfterDeath_Trigger(GameTrigger <GameEffect> trigger)
 {
     this.afterDeath_triggers.Add(trigger);
 }
예제 #5
0
 public void Add_AfterPlayCard_Trigger(GameTrigger <GameEffect> trigger)
 {
     this.afterPlay_triggers.AddLast(trigger);
     //this.afterPlay_triggers.GetWritable().Add(trigger);
 }