public override GooseTaskData GetNewTaskData(GooseEntity goose)
        {
            ChargeToBallTaskData taskData = new ChargeToBallTaskData();

            taskData.timeStarted = Time.time;
            return(taskData);
        }
        public override void RunTask(GooseEntity goose)
        {
            ChargeToBallTaskData data = (ChargeToBallTaskData)goose.currentTaskData;

            API.Goose.setSpeed(goose, GooseEntity.SpeedTiers.Charge);

            if (Time.time - data.timeStarted > 10)
            {
                API.Goose.setSpeed(goose, GooseEntity.SpeedTiers.Walk);
                API.Goose.setTaskRoaming(goose);
            }
        }