Hello everyone.
I'm thinking of implementing it (naturally...) in my code.
I was thinking of another way to implement it, I wanted to know if it is a valid way, if anyone tried it, any cons/pros?
The Basic Observer
In the game code you set an observer that should get the events from that specific code/class/object.
Once an event happens, it notifies its' observer, and the observer does its thing (be it manipulate score, achievement, etc...)
But in this case, you have to have a different...
The Observer Design Pattern
I'm thinking of implementing it (naturally...) in my code.
I was thinking of another way to implement it, I wanted to know if it is a valid way, if anyone tried it, any cons/pros?
The Basic Observer
In the game code you set an observer that should get the events from that specific code/class/object.
Once an event happens, it notifies its' observer, and the observer does its thing (be it manipulate score, achievement, etc...)
But in this case, you have to have a different...
The Observer Design Pattern