I'm just learning. So I wonder if it's possible to create a vector of SDL_Rects?
I made a simple box with collision detection with the player. But if I could made the rects in a vector, I could test their collision with the same functions by loops. Is it a good approach?
I tried to create a vector, compiler didn't complain. But I couldn't put the rects on screen. Any ideas?