reachedGoal() private méthode

private reachedGoal ( ) : bool
Résultat bool
Exemple #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());
        }
Exemple #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());
        }