strol Posted June 10, 2019 Share Posted June 10, 2019 What can we do in our constructor and what we can’t? The difference between constructor and ‘create’ method? What we must put to the constructor and what to the ‘create’ method? How do you use the constructor in your code? Now I am using constructor when I want to get a scene in the derived class and then I use this scene to create new objects and move all ‘this.’ initialization from ‘create’ method to constructor because 80% depends on the received scene. So the ‘create’ method becomes useless and empty. Maybe I do something wrong. Link to comment Share on other sites More sharing options...
Recommended Posts