Original Post
At the moment i have a Console object which can parse commands etc, to complete it i have a Settings object which allows for easy extraction of variables, like Screen_Width etc. So now i'm thinking about just passing that Settings object to every object that needs it and let them fetch their settings in the constructor. But Source and another engines allow for on the flow changes to values, how do they do this? Do they attach some sort of "updated()" function to every value? How would you implement something like that? [Edited by - lexs on January 26, 2008 5:44:38 PM]