Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [Solved] How to have a std::vector of sf::Drawable items and draw them?  (Read 15364 times)

0 Members and 2 Guests are viewing this topic.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: [Solved] How to have a std::vector of sf::Drawable items and draw them?
« Reply #15 on: October 16, 2015, 11:53:47 am »
So I'm having a problem doing something like this.
Please open a new thread instead of hijacking old ones.

but I have to override sf::Drawable::draw method and I have no idea how to do that to not change what those method already do.
It's unclear what you mean. How to override virtual functions is basic C++, I don't see the relation to SFML.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: