void CreateTask() { Debug.Log("Adding lights task"); curr = switches[Random.Range(0, switches.Length)]; if (curr.on) { goalState = "off"; } else { goalState = "on"; } string prompt = "Timo, turn " + curr.GetLabel() + " light " + goalState; task = new Task(prompt, taskLength, this); AddTaskToQueue(task); }