using UnityEngine;
using UnityEngine.Audio;
using System.Collections;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;

namespace Jammer {


  public class BeatRecord {

    public float Seconds { get; set; }

    //NOTE: Enums not serializing ...
    //public Instrument Instrument { get; set; }
    public string Instrument { get; set; }

    /// <summary>
    /// Int from 1 ..3
    /// </summary>
    public int Difficulty { get; set; }

    /// <summary>
    /// Return a string
    /// </summary>
    public override string ToString(){
      return string.Format("{0}, Seconds {1}, Instrument {2}", base.ToString(), Seconds, Instrument);
    }
  }
}
