mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Code Cleanup
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user