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: StartMenu/StartMenu.h
- Revision:
- 2:823dea76ff2e
- Child:
- 3:4494e6928194
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/StartMenu/StartMenu.h Sat May 16 13:06:29 2020 +0000
@@ -0,0 +1,30 @@
+#ifndef STARTMENU_H
+#define STARTMENU_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Ball.h"
+#include "PongEngine.h"
+
+/** Ball Class
+@author Dr Craig A. Evans, University of Leeds
+@brief Controls the ball in the Pong game
+@date Febraury 2017
+*/
+class StartMenu
+{
+
+public:
+ StartMenu);
+ ~StartMenu();
+ void draw(N5110 &lcd);
+ void complete();
+ /// accessors and mutators
+
+private:
+
+ int ball_x_pos;
+ int ball_y_pos;
+};
+#endif
\ No newline at end of file