Start by moving those event listener assignments into the SoundFacade function. Then be sure to declare whether the two functions you are adding are public or private. If they only get called within the class then they can be private. THen neatly format the code you added to be similar to the formatting of what precedes it so that it is easier to read as a whole.
↧