This class moves the gameobject that the herd follows to a new position. The possible positions of the object are defined in LevelData, under the name herdWaypoints.
After the gameObject is moved, the function CallSheepDelay is used to send the information to the SeepInHerd that they need to move. Note that CallSheepDelay returns IEnumerator. This function should call the sheep one by one with a delay defined in the parameters of the function.
This class moves the gameobject that the herd follows to a new position. The possible positions of the object are defined in LevelData, under the name herdWaypoints. After the gameObject is moved, the function CallSheepDelay is used to send the information to the SeepInHerd that they need to move. Note that CallSheepDelay returns IEnumerator. This function should call the sheep one by one with a delay defined in the parameters of the function.