I'm trying to make a game in which a bunch of circles spawn and the "player" needs to eat them up. I figured that the best way to do this would be by using a vector, instead of defining them all individually. How do I do this?
I know that I need to do something like this:
vector<sf::CircleShape> circles;
circles.resize(10);
How do I add new circles in it, though; and how do I set the properties of the circles