How to run methods in an object in a vector

How would I do this? I have this code:
 this->debugLetters[i].draw(graphics, 0, 0);

debugLetters is a vector of Sprites, which has a method called draw(). The arguments are all correct, so why wouldn't this work?
Is debugLetters a vector of Sprites, or a vector of pointers to Sprites?
It's a vector of Sprites. Do I need it to be a vector of pointers?
What's the error you're getting?
Never mind. Thanks for all your replies, but I've fixed it now.
Registered users can post here. Sign in or register to post.