Code Cleanup

This commit is contained in:
Keenan D. Buckley
2020-02-10 21:49:25 -07:00
parent 0a919c1a75
commit dd6ce41a74
@@ -423,13 +423,19 @@ public class Drive extends SubsystemBase {
m_pigeon.setAccumZAngle(0);
}
/**
* Plays Music!
* @param song The name of the song to be played
*/
public void playSong(String song) {
String toPlay = song + ".chrp";
m_Orchestra.loadMusic(toPlay);
/**
* Plays Music!
*/
public void playSong() {
m_Orchestra.play();
}
/**
* Selects a song to play!
* @param song The name of the song to be played
*/
public void selectSong(String song) {
String toPlay = song + ".chrp";
m_Orchestra.loadMusic(toPlay);
}
}