FAQ
Here is a question that might be on your mind:
Q) I don't fully understand the structure of the code files. What should I do?
A) It is true that abstraction can make the structure of our code less clear, but the actual code itself becomes so much easier. Instead of cramming everything into the main
function like we did in the previous projects, we will split the code up into Input.cpp
, Update.cpp
, and Draw.cpp
. Furthermore, we will use more classes to group together related code as we proceed. Study the Structuring the Thomas Was Late code section again, especially the diagrams.