Hi,
I've just started with the SFML Game Development book, and was working through the first chapter, but would like to ask a question or two before I commit.
Am I right in thinking that, as each new snippet of code is introduced, it is left to the reader to do "prep work" such as declaring the function correctly?
For example, as the handlePlayerInput() function is presented, I don't see any code for declaring it, or any mention of where you should do so. Nor do I see code for declaring bool mIsMoving in the the update() function.
Is all this by design? It is presumed the reader is already proficient enough to not be told this?