Closed DavidTruby closed 11 years ago
Mostly, these are holdovers from when classes (e.g. Rendering) were singletons, and can be safely moved into ctors. I think in some cases, I used them so that the initialization could return false. However, these could be turned into exceptions from constructors.
Right. Is this a holdover from the days when you used to think that throwing constructors were evil..? ;-) I'll mark this as an enhancement and assign you :-)
Part of this is my fault. Its what I've seen done elsewhere.
All initialize functions have been removed, barring Game (which will be required if it's a static class) and Render (which will be removed once I get around to redoing the rendering pipeline)
Someone mind explaining initialise functions to me? Surely that's what the constructor is for...?