summaryrefslogtreecommitdiff
path: root/song.h
diff options
context:
space:
mode:
authorSimon Gagne <gags2431@usherbrooke.ca>2023-03-16 10:06:04 -0400
committerSimon Gagne <gags2431@usherbrooke.ca>2023-03-16 10:06:04 -0400
commitb8dadd82d4afff0e5e6b6a8a00df948045d31503 (patch)
treec0613c30de11d5261bc0bdf4a1d5522515f41eb5 /song.h
parent8332074b391e824ae4b92edfd5aa658c71265449 (diff)
Commit pour deplacement vers VSStudio
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"