Class containing methods to draw a ball within the maze game with the specified position, size and fill style parameters.

Revision:
0:4c58ed26b6ea
Child:
1:ba8bb10ebd5a
diff -r 000000000000 -r 4c58ed26b6ea Ball.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Ball.h	Tue Apr 04 10:30:48 2017 +0000
@@ -0,0 +1,35 @@
+//
+//  ball.h
+//  
+//
+//  Created by Max Houghton on 19/03/2017.
+//
+//
+
+#ifndef BALL_H
+#define BALL_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Maze.h"
+
+class Ball
+{
+    
+public:
+    
+    Ball();
+    ~Ball();
+    
+    void draw(N5110 &lcd, int x, int y, int radius);
+    
+private:
+    
+    int _radius;
+    int _x;
+    int _y;
+    
+};
+
+#endif /* BALL_H */