How do I do title in C#?
Conceptually I am thinking when an event occurs in a game, it will trigger a bunch of things watching for said occurance.
Example: in a card game, I have a unit that has "whenever you play a unit this gains +1/+1". SO when I play a unit, a method in this card will get called giving it +1/+1;
When researching events however, i learned that you have to subscribe to the publisher of the event (correct me if I am wrong) but this defeats the purpose?? I don't know when or where the event will come from is the issue.
is there an alternate way of doing this?
Or is my understanding how events work incorrect?