# HG changeset patch # User saiam # Date 1227980271 0 # Node ID d45109cf5e9d07e9190bd5a4b2c68c8c8aeee58a # Parent c05e84ccc4b3e9330fa1dafb94d0d67820fb835e Moved unnecessarily protected function to private diff -r c05e84ccc4b3 -r d45109cf5e9d 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? */