Object Events, how do are they implemented
- by Malfist
Events are really awesome, and I wouldn't know what I would do without them, but they're a mystery to me.
I'm talking about events in a sense, a function(s) is called if a property, or value, a special event happens.
I have only the vaguest idea how these actually work. I know it's an observer pattern, but I don't truly know how it works and/or how to implement it.
Can someone explain that to me?