This is a beginner question. I'm pretty sure many people had this doubt but I still didn't find something to clearfy my mind, maybe I'm looking in the wrong direction or conception. The thing is, I can work with both codes:
sf::Clock clock;
clock.getElapsedTime();
sf::Clock getElapsedTime();
Both are accepted through the IDE but I can't really understand the difference. As I already programm other languages I do know that clock.getElapsedTime();
will return the time during the app open, but what does sf::Clock getElapsedTime();
do exactly?
thanks in advance