} // END SetTasks public void SetTaskList(int amountResult) { currentAmount = amountResult; if (currentAmount > 0) { if (factoryWindowData.taskStarted == false) { factoryWindowData.SetCurrentTask(taskListType[0], taskListAmount[0]); } } } // END SetTasks