FAQ
Q) I don't fully understand the structure of the code files.
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 as we did in 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.