C++ Game Dev 10: Object Collection
When we started our component system, we created Awake and Start methods for our objects. However, they are not yet being called anywhere. We need to fix this before next weeks tutorial (where we begin our animation system) so the first part of this tutorial will focus on that. Also, we are currently responsible for maintaining, updating, and drawing our objects ourselves. We only have one object at the moment so it’s not really a problem, but we do not want to have to manually call update and draw functions when we have 100+ objects. Therefore we will also create a structure to do just that, the ObjectCollection.