Exemplo n.º 1
0
        public override GooseTaskData GetNewTaskData(GooseEntity goose)
        {
            RunToBedTaskData taskData = new RunToBedTaskData();

            taskData.timeStarted = Time.time;
            return(taskData);
        }
Exemplo n.º 2
0
        public override void RunTask(GooseEntity goose)
        {
            RunToBedTaskData data = (RunToBedTaskData)goose.currentTaskData;

            API.Goose.setSpeed(goose, GooseEntity.SpeedTiers.Run);
        }