* initialize particles in the constructor and move them in the simulate
* function.
*/
-class ParticleSystem : public _GameObject, public Drawable
+class ParticleSystem : public GameObject, public Drawable
{
public:
ParticleSystem(DisplayManager& displaymanager);
virtual ~ParticleSystem();
- virtual void draw(ViewPort& view, int layer);
+ virtual void draw(Camera& view, int layer);
protected:
class Particle