Moved unnecessarily protected function to private
authorsaiam
Sat, 29 Nov 2008 17:37:51 +0000
changeset 134 d45109cf5e9d
parent 133 c05e84ccc4b3
child 135 d5624d698a78
Moved unnecessarily protected function to private
src/proto2/Physics.hh
--- a/src/proto2/Physics.hh	Sat Nov 29 17:29:53 2008 +0000
+++ b/src/proto2/Physics.hh	Sat Nov 29 17:37:51 2008 +0000
@@ -151,14 +151,6 @@
     void updatePhysics (Vector position, Vector velocity, bool inAir);
 
     /**
-     * Handle ground movement
-     *
-     * @param right Boolean describing the movement direction.
-     * @return new position
-     */
-    Vector walk (bool right);
-
-    /**
      * Handle ground-jumping
      */
     void jump (void);
@@ -206,6 +198,14 @@
      */
     Vector acceleration(const Force &force);
 
+    /**
+     * Handle ground movement
+     *
+     * @param right Boolean describing the movement direction.
+     * @return new position
+     */
+    Vector walk (bool right);
+
     /*
      * Handle collision. TODO: This is not used. It probably should be?
      */