summaryrefslogtreecommitdiff
path: root/song.h
diff options
context:
space:
mode:
Diffstat (limited to 'song.h')
-rw-r--r--song.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/song.h b/song.h
index e4b2389..3a33d84 100644
--- a/song.h
+++ b/song.h
@@ -1,7 +1,7 @@
#ifndef __SONG_H__
#define __SONG_H__
-#include "chord.h"
+#include "chordNote.h"
#include <vector>
// Contains a song for a guitar hero clone
@@ -11,20 +11,20 @@ class Song {
std::string artist;
int duration; // in ms
std::string audioFile; // path to audio file
- std::vector<Chord> chords;
+ std::vector<ChordNote> chords;
public:
Song(std::string chartFile);
~Song();
void consolidate(); // merges chords with the same start/end times
// into a single chord
- Chord operator[](int index);
+ ChordNote operator[](int index);
int size();
std::string getTitle();
std::string getArtist();
int getDuration();
std::string getAudioFile();
- std::vector<Chord> getChords();
+ std::vector<ChordNote> getChords();
};
#include "song.cpp"