public Playlist(params Music[] m) { music = new List <Music>(); foreach (Music item in m) { add(item); } history = new List <int>(); rand = new Random(); currentIndex = 0; playback = new PlaybackNormal(); }
public Playlist(List <Music> m, string name = "") { music = m; //still have to tag music foreach (Music item in music) { item.PlaylistID = nextId; nextId++; } history = new List <int>(); rand = new Random(); currentIndex = 0; playback = new PlaybackNormal(); }
public void setPlayback(Playback play) { playback = play; }