Hello! I'm watching this example into SFML VertexArray Examples (the last in the bot: the Particle System):
https://www.sfml-dev.org/tutorials/2.5/graphics-vertex-array.phpI'm trying to use it and it's very good but i have some question, and the most important of them is:
What is the method virtual void draw(RenderTarget, RenderStates), where did they use it?
How does it works? If i remove the function, it gives the error:
particles.cpp|88|error: cannot declare variable 'particles' to be of abstract type 'ParticleSystem'
At the main where it creates the class instance. WHy? Thank you