public Player() { this.Sacrifice = new NoticableEvent<Player, Card>(this, this.OnSacrifice); this.Summon = new NoticableEvent<Player, Card>(this, this.OnSummon); this.Cast = new NoticableEvent<Player, Card>(this, this.OnCast); }
public DamageableResourceHolder() { this.OnDamage = new NoticableEvent<DamageableResourceHolder, Damage>(this, this.OnDamegeFireCore); this.OnMagicalDamage = new NoticableEvent<DamageableResourceHolder, MagicalDamage>(this, this.OnMagicalDamageFireCore); this.OnPhysicalDamage = new NoticableEvent<DamageableResourceHolder, PhysicalDamage>(this, this.OnPhysicalDamageFireCore); }
public WorldObject() { this.RoundStart = new NoticableEvent<WorldObject, bool>(this, null); this.RoundEnd = new NoticableEvent<WorldObject, bool>(this,null); }