Added default and cancel button to the Dialog
[supertux.git] / src / object / rain_particle_system.hpp
index 25715ea..09f28a0 100644 (file)
 #ifndef HEADER_SUPERTUX_OBJECT_RAIN_PARTICLE_SYSTEM_HPP
 #define HEADER_SUPERTUX_OBJECT_RAIN_PARTICLE_SYSTEM_HPP
 
+#include <memory>
+
 #include "object/particlesystem_interactive.hpp"
+#include "video/surface_ptr.hpp"
 
 class RainParticleSystem : public ParticleSystem_Interactive
 {
@@ -38,12 +41,12 @@ private:
   public:
     float speed;
 
-    RainParticle() : 
+    RainParticle() :
       speed()
     {}
   };
 
-  Surface* rainimages[2];
+  SurfacePtr rainimages[2];
 
 private:
   RainParticleSystem(const RainParticleSystem&);