//----------------------------------------------------------------------------------------------- // Constructor //----------------------------------------------------------------------------------------------- public StudentCSVSim() { id = "0"; myDataList = new List <string[]>(); classmanager = GameObject.Find("Student_Manager").GetComponent <Class_Manager>(); objectiveELO = new Dictionary <string, int>(); // hardcoding the objective_value and objective_name objective_random_names = new Dictionary <string, string>(); objective_random_names.Add("8232", "Wiskunde Basis"); objective_random_names.Add("8234", "Wiskunde Verdiepend"); objective_random_names.Add("8240", "Wiskunde Moeilijk"); objective_random_names.Add("8181", "Wiskunde Toets"); }
// Start is called before the first frame update void Start() { gv = GameObject.Find("System_Scripts").transform.Find("GlobalVars").GetComponent <GlobalVars>(); read_Exercise_File(); class_Manager = GetComponent <Class_Manager>(); startSimulation = false; // state variables fast_run = true; fast_simulate_on = false; mySimulators = new List <StudentCSVSim>(); read_Data_File(); TIMESTAMP_CURRENT = ExtractTimeStamp(0); // fast-run until this datetime TIMESTAMP_SIMULATE = new DateTime(2019, 11, 12, 08, 20, 00); //pointer through the data pointer = 0; startSimulation = true; }