camera.update(t, dt);
heroine->update(t, dt);
+ scene->checkForCollision(*heroine);
+
//camera.lookAt(heroine->getSphere().point);
camera.setPosition(Mf::Vector3(-heroine->current.position[0],
-heroine->current.position[1], -256));
}
case SDL_KEYUP:
- heroine->handleEvent(event);
- break;
+ return heroine->handleEvent(event);
case SDL_MOUSEMOTION:
case SDL_MOUSEBUTTONDOWN: