diff options
author | Simon Gagne <gags2431@usherbrooke.ca> | 2023-03-16 10:06:04 -0400 |
---|---|---|
committer | Simon Gagne <gags2431@usherbrooke.ca> | 2023-03-16 10:06:04 -0400 |
commit | b8dadd82d4afff0e5e6b6a8a00df948045d31503 (patch) | |
tree | c0613c30de11d5261bc0bdf4a1d5522515f41eb5 /song.h | |
parent | 8332074b391e824ae4b92edfd5aa658c71265449 (diff) |
Commit pour deplacement vers VSStudio
Diffstat (limited to 'song.h')
-rw-r--r-- | song.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" |