I know this is a simple question, but one I've always been looking for a solution for.
void SCENE::addedToScene(Scene newScene)
scene = newScene;
I know it's minor, but I don't like always having to put a scene = newscene statement in the function definition.
Is there any way to make the class function automatically accept a function parameter of the same name as a class variable.
void addedToScene(Scene scene)
// scene is automatically accepted as the class variable with the same name