public void addSession(DateTime startedDate) { Session s = new Session(startedDate); sessions.Add(s); }
public void addMeasurement(Session session, Measurement measurement) { session.AddMeasurement(measurement); }
void Awake() { moveLimit = Camera.main.ScreenToWorldPoint(new Vector2(Screen.width, 0)).x - (transform.localScale.x / 2); if (MainSystem.Instance == null) return; session = MainSystem.Instance.Session; }
public void StartNewTest() { Session test = new Session(DateTime.Now); tests.Add(test); }
public void addSession(DateTime startedDate, trainingen training) { Session s = new Session(startedDate, training, sessions.Count + 1); sessions.Add(s); }