Exemple #1
0
        private void SteeringMove(HeuristicType heuristicType)
        {
            switch (heuristicType)
            {
            case HeuristicType.A1:
                MovementBehaviour1.SteeringArrive();
                break;

            case HeuristicType.A2:
                MovementBehaviour1.KinematicArrive();
                break;

            case HeuristicType.B1:
                MovementBehaviour1.KinematicArrive();
                break;

            case HeuristicType.B2:
                MovementBehaviour1.SteeringArrive();
                break;

            case HeuristicType.C1:
                MovementBehaviour1.SteeringFlee();
                break;

            case HeuristicType.C2:
                MovementBehaviour1.Evade();
                break;
            }
        }
Exemple #2
0
        private void KinematicMovement(HeuristicType heuristicType)
        {
            switch (heuristicType)
            {
            case HeuristicType.A1:
                MovementBehaviour1.KinematicArrive();
                break;

            case HeuristicType.A2:
                MovementBehaviour1.KinematicArrive();
                break;

            case HeuristicType.B1:
                MovementBehaviour1.KinematicArrive();
                break;

            case HeuristicType.B2:
                MovementBehaviour1.KinematicArrive();
                break;

            case HeuristicType.C1:
                MovementBehaviour1.KinematicFlee();
                break;

            case HeuristicType.C2:

                MovementBehaviour1.KinematicFlee();
                break;
            }
        }