This time I explain how to mimic Unity’s GetComponent system using C++ templates.
This is going to be the first part in a continuing series where I try to explain how and why I’m creating my own game engine using C++ and the SDL library.