LearnWithTouch/Assets/scripts/Trial.cs

58 lines
1.9 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
//[Serializable]
public class TouchSer {
private string touchID;
private float x;
private float y;
private string timestamp;
public string TouchID { get => touchID; set => touchID = value; }
public float X { get => x; set => x = value; }
public float Y { get => y; set => y = value; }
public string Timestamp { get => timestamp; set => timestamp = value; }
}
//[Serializable]
public class Trial
{
// Start is called before the first frame update
private string iD;
private int attempt;
private int score;
private string date;
private string time;
private string onset;
private string game;
private string level;
private int trialCounter;
private int x;
private int y;
private int r;
private string op;
private List<TouchSer> t = new List<TouchSer>();
private string correct;
private string correct2;
public List<TouchSer> T { get => t; set => t = value; }
public string Op { get => op; set => op = value; }
public int R { get => r; set => r = value; }
public int Y { get => y; set => y = value; }
public int X { get => x; set => x = value; }
public int TrialCounter { get => trialCounter; set => trialCounter = value; }
public string Level { get => level; set => level = value; }
public string Game { get => game; set => game = value; }
public string Time { get => time; set => time = value; }
public string Date { get => date; set => date = value; }
public string Correct { get => correct; set => correct = value; }
public string ID { get => iD; set => iD = value; }
public int Attempt { get => attempt; set => attempt = value; }
public int Score { get => score; set => score = value; }
public string Correct2 { get => correct; set => correct = value; }
public string Onset { get => onset; set => onset = value; }
}