A simple asteroids-like game utilizing various Mbed-compatible sensors
Dependencies: mbed 4DGL-uLCD-SE PinDetect
Diff: ScreenObject.h
- Revision:
- 0:f2cc64948895
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ScreenObject.h Fri Nov 30 04:49:11 2018 +0000 @@ -0,0 +1,22 @@ +#ifndef SCREENOBJECT_H +#define SCREENOBJECT_H +#include <string> +#include <iostream> + +class ScreenObject +{ + public: + int xpos; + int ypos; + + virtual void draw() = 0; + virtual void update() = 0; + virtual bool outB() = 0; + + private: + + +}; +#endif + + \ No newline at end of file