using System.Collections.Generic;
using UnityEngine;

[System.Serializable]
public struct RowingFrame
{
    public float timestamp; // Time since the recording started
    public int watts;
    public int spm;
    public int heartRate;
    public List<float> forceCurve; // Will be empty unless a stroke just finished
}

[CreateAssetMenu(fileName = "NewRowingSession", menuName = "Rowing/Session Data")]
public class RowingSessionData : ScriptableObject
{
    public string sessionName = "New Session";
    public List<RowingFrame> frames = new List<RowingFrame>();
}