![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
Diff: MenuClasses/Settings/Settings.h
- Revision:
- 65:2872ca289b49
- Parent:
- 63:205f0ca48473
- Child:
- 83:329da564799a
--- a/MenuClasses/Settings/Settings.h Thu May 02 11:30:04 2019 +0000 +++ b/MenuClasses/Settings/Settings.h Fri May 03 19:16:02 2019 +0000 @@ -7,67 +7,67 @@ class Settings { - public: - +public: + Settings(); ~Settings(); - + /** Implement Settings * * This function is used to configure settings. */ - + float * Implement(N5110 &lcd, Gamepad &pad, float cs); - + /** Info * * This function shows the info for using settings. */ void info(N5110 &lcd, Gamepad &pad); - + /** Call Functions * * This function calls respective settings menu as per the contol entries by the user. */ void CallFunctions(N5110 &lcd, Gamepad &pad, int st); - + /** controlSensitivity * * This function essentialy enables the user to select the sensitivity of the game controls */ - + void controlSensitivity(N5110 &lcd, Gamepad &pad); - + /** brigntness * * This function allows the user to set the screen brightness. */ void brigntness(N5110 &lcd, Gamepad &pad); - + /** contrast * * This function allows the user to set the contrast of the screen. */ void contrast(N5110 &lcd, Gamepad &pad); - + /** volume * * This function allows the user to set the volume of the speaker. */ void volume(N5110 &lcd, Gamepad &pad); - + /** showCredits * * This function allows the user to hide/show credits. */ - + void showCredits(N5110 &lcd, Gamepad &pad); - - private: + +private: float cs_sc[2]; //this array helps to return Control speeds and Show credits parameters. - + }; #endif \ No newline at end of file