Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
Diff: classes/Sound.h
- Revision:
- 12:20ac766b3175
- Parent:
- 3:8c9c9794bcf2
- Child:
- 13:183bd19f3d7d
--- a/classes/Sound.h Wed Apr 21 11:08:02 2021 +0000 +++ b/classes/Sound.h Wed Apr 21 15:24:31 2021 +0000 @@ -9,6 +9,15 @@ //defines main theme void mainTheme(Tone &dac); + + //plays sound when score increases + void pointScore(Tone &dac); + + //plays sound when life lost + void lifeLoss(Tone &dac); + +private: + int n; }; #endif \ No newline at end of file