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