Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: SplashScreen/Splash.h
- Revision:
- 9:e6566d09f087
- Parent:
- 8:5ede90f99a27
- Child:
- 20:c697902b844f
--- a/SplashScreen/Splash.h Sun May 17 17:59:30 2020 +0000 +++ b/SplashScreen/Splash.h Sun May 17 23:00:04 2020 +0000 @@ -8,29 +8,39 @@ class Splash { + private: + //objects + N5110 *_lcd; + Ball *_ball; + public: /** Constructor */ - Splash(); + Splash(N5110 &lcd, Ball &ball); /** Destructor */ ~Splash(); - void displayInfo(N5110 &lcd); + void displayInfo(); - void playIntro(N5110 &lcd,Ball &ball); + void playIntro(); - void drawLogo(int x, int y, N5110 &lcd,Ball &ball); + void drawLogo(int x, int y); private: + void draw_name(); + + void player_enter_animation(); + + void kick_animation(); + + void shot_animation(); + + void contrast_slide(); }; -void draw_name(N5110 &lcd, Ball &ball); -void player_enter_animation(N5110 &lcd, Ball &ball); -void kick_animation(N5110 &lcd, Ball &ball); -void shot_animation(N5110 &lcd, Ball &ball); -void contrast_slide(N5110 &lcd); + #endif \ No newline at end of file