I'd like to know the best method for grouping a series of global variables together.
To explain better, I'd like to make a game that includes many different variables, grouped into different categories, such as:
Intelligence
Learning
Knowledge
Memory
Physical
Strength
Agility
Speed
The list goes on. As you can see, I currently have 6 as shown above, and would eventually refer to these frequently. I'd like to be able to group them so that I can locate them a lot quicker.
Is the best way to do this to just make a sprite or something, name it the group, and work with instance variables instead? The problem with this method is that I want these 'stats' to remain throughout, so I guess I could make the sprites a global object, but I was hoping there might be an easier way someone's thought of.