gameEngine/gameEngine/Scene.cpp
//if SceneDirector doesn't have a scene yet, assign this one, init keycallback
if SceneDirector doesn't have a scene yet, assign this one, init keycallback
if SceneDirector doesn ' t have a scene yet assign this one init keycallback
void Scene::Init()
{
	if (!initilized)
	{
		SceneDirector *temp = SceneDirector::getInstance();
		if (temp->getNumberOfScenes() < 1)
		{
			temp->addScene(this);
		}
		glfwSetKeyCallback(window, key_callback);
		initilized = true;
	}
}
void Scene :: Init ( ) { if ( ! initilized ) { SceneDirector * temp = SceneDirector :: getInstance ( ) ; if ( temp -> getNumberOfScenes ( ) < 1 ) { temp -> addScene ( this ) ; } glfwSetKeyCallback ( window , key_callback ) ; initilized = true ; } }
if SceneDirector doesn't have a scene yet, assign this one, init keycallback
if SceneDirector doesn ' t have a scene yet assign this one init keycallback
//ResourceManager::LoadTexture("textures/BGSpace001.png", GL_FALSE, "background");