Similar to binding an event, but rather to the changing of a variable. Is the only way to facilitate this by creating a set() function for each variable, or is it possible to bind a listener to the variable?
I find myself writing if statements around variables throughout several functions, to check their state. I would like to have a function fire whenever that variable changes.
(or is this a Bad Idea...)