Im currently learning SFML and im reading SFML Game Development and within the book it shows that i should run the game in a game class which has the methods
public:
Game();
void Run();
private:
void ProcessEvents();
void Update();
void Render();
now im also watching youtube tutorials and the tutorials are showing just having it all run in the main function,
which should i be doing?
thanks