Removed trailing whitespace from all *.?pp files
[supertux.git] / src / object / camera.hpp
index f396c26..53aecb7 100644 (file)
@@ -30,7 +30,7 @@ class Path;
 class PathWalker;
 class CameraConfig;
 
-class Camera : public GameObject, 
+class Camera : public GameObject,
                public ScriptInterface
 {
 public:
@@ -39,7 +39,7 @@ public:
 
   /// parse camera mode from lisp file
   void parse(const Reader& reader);
-    
+
   /// reset camera position
   void reset(const Vector& tuxpos);
 
@@ -88,6 +88,7 @@ private:
   void keep_in_bounds(Vector& vector);
   void shake();
 
+private:
   /**
    * The camera basically provides lookahead on the left or right side
    * or is undecided.
@@ -96,6 +97,7 @@ private:
     LOOKAHEAD_NONE, LOOKAHEAD_LEFT, LOOKAHEAD_RIGHT
   };
 
+private:
   Vector translation;
 
   Sector* sector;
@@ -108,8 +110,8 @@ private:
   Vector cached_translation;
 
   // autoscroll mode
-  std::auto_ptr<Path> autoscroll_path;
-  std::auto_ptr<PathWalker> autoscroll_walker;
+  std::unique_ptr<Path> autoscroll_path;
+  std::unique_ptr<PathWalker> autoscroll_walker;
 
   // shaking
   Timer shaketimer;