Where are we now?
At this point, all the errors in our GameObject
class, as well as all component-related classes, are gone. We are making good progress.
Furthermore, we can revisit the ScreenManager.h
file and uncomment all the commented-out code.
Open ScreenManager.h
and uncomment the #include
directive, as follows:
//#include "LevelManager.h"
Change it to this:
#include "LevelManager.h"
Do the same for the functions from the ScreenManagerRemoteControl
interface that are implemented in ScreenManager.h
. They look like the following:
void ScreenManagerRemoteControl:: loadLevelInPlayMode(string screenToLoad) { //m_LevelManager.getGameObjects().clear(); //m_LevelManager. //loadGameObjectsForPlayMode(screenToLoad...