Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds music to the project.
Changes to project folder:
-Added files "song1.wav" and "song2.wav" to the src/sounds folder
-Modified file "victory.wav" to match the music
Changes to ArcadeDemo.java:
-Modified renderFrame() to handle music
-Modified initMusic() to include songs
-Added methods startMusic() and stopMusic()
Changes to Room.java:
-Added method getSong(), which controls which song should play in the room (defaults to 1)
By default, every room will play song 1, but you can change that by overriding the getSong() method. Song 2 is a remix of song 1, so maybe it should be used for longer/more difficult rooms. Or maybe song 1 plays during the first half of the game, and song 2 plays during the second half. Since Mr. Spock may alter the room order in the final project, I'm leaving this part up to him.
-Tate