@ziggy
Aha! I got it now. Use a function when it's related to the class but not any individual instances.
So for example if a had a gameobject class, is it better to make the render routine a function of the class or a method of the instances?
Aha! I got it now. Use a function when it's related to the class but not any individual instances.
So for example if a had a gameobject class, is it better to make the render routine a function of the class or a method of the instances?