P.20 (Play the Note)


/*
 * Play the note of this key.
 */
// Add the following code to the "Key" class
public void play() {
  Greenfoot.playSound ("3a.wav");
}
Last modified on
Engineering DIY Workshop 2018