reachedGoal() private method

private reachedGoal ( ) : bool
return bool
Example #1
0
        public static void Main(string[] args)
        {
            Circle circle = new Circle();

            /* Set up the scenario. */
            circle.setupScenario();

            /* Perform (and manipulate) the simulation. */
            do
            {
                #if RVO_OUTPUT_TIME_AND_POSITIONS
                circle.updateVisualization();
                #endif
                circle.setPreferredVelocities();
                Simulator.Instance.doStep();
            }while (!circle.reachedGoal());
        }
Example #2
0
        public static void Main(string[] args)
        {
            Circle circle = new Circle();

            /* Set up the scenario. */
            circle.setupScenario();

            /* Perform (and manipulate) the simulation. */
            do
            {
                #if RVO_OUTPUT_TIME_AND_POSITIONS
                circle.updateVisualization();
                #endif
                circle.setPreferredVelocities();
                Simulator.Instance.doStep();
            }
            while (!circle.reachedGoal());
        }