Improve code organization in FleeingMovementGenerator.cpp.