I'm trying to clean up the code of a game I'm creating. From the beginning, I have put relevant functions inside a covering object. For example, the initialize function can be accessed at Init.initialize()
.
However, for this and other objects, I'd like to use types and then creating instances of them. For example, I have a Settings type which holds some settings of the game. The Settings should be a type, while an instance should hold the actual setting values.
Now how should I best name the type and how should I then name the instance, especially when I only have one instance? If I name the type Settings, how could I best describe the instance in the form of a variable name?