Jump to content
Posted 17 March 2012 - 06:37 PM
Posted 17 March 2012 - 07:03 PM
The only thing that comes to mind is a string map (std::map<std::string,int>), and have the game code hardcoded to find a particular element by name. But for me, a red flag goes up whenever I think a map is the solution
Posted 18 March 2012 - 03:52 PM
Every time you add a boolean member variable, God kills a kitten. Every time you create a Manager class, God kills a kitten. Every time you create a Singleton...
Posted 18 March 2012 - 04:53 PM