Added TexturePtr
[supertux.git] / src / object / comet_particle_system.hpp
index 7eb7e9c..c38e0b5 100644 (file)
 #ifndef HEADER_SUPERTUX_OBJECT_COMET_PARTICLE_SYSTEM_HPP
 #define HEADER_SUPERTUX_OBJECT_COMET_PARTICLE_SYSTEM_HPP
 
+#include <memory>
+
 #include "object/particlesystem_interactive.hpp"
+#include "video/surface_ptr.hpp"
 
 class CometParticleSystem : public ParticleSystem_Interactive
 {
@@ -44,7 +47,7 @@ private:
     {}
   };
 
-  Surface* cometimages[2];
+  SurfacePtr cometimages[2];
 
 private:
   CometParticleSystem(const CometParticleSystem&);