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.
Diff: Paddle/Paddle.h
- Revision:
- 86:01f33d94e496
- Parent:
- 72:7254d2a8a1cd
- Child:
- 91:c01a736fb0d9
--- a/Paddle/Paddle.h Mon May 06 18:41:24 2019 +0000
+++ b/Paddle/Paddle.h Mon May 06 19:04:42 2019 +0000
@@ -5,6 +5,15 @@
#include "N5110.h"
#include "Gamepad.h"
+#define PADDLE_WIDTH 15
+#define PADDLE_HEIGHT 2
+
+/* Ball Class
+@author James Heavey, University of Leeds
+@brief Controls the paddle in the Breakout game
+@date May 2019
+*/
+
class Paddle
{
public: