I know this is how vectors work
for (auto object: this->objects)
I’m wondering how do i use the iterator. I know how to use them in normal C++ where we just increment the iterator.
I want to every now and then during a game execution, increment the iterator and use the current object. In the update fucntion every now and then during game two Rect’s will intersect causing the iterator to increment 1.