A simple asteroids-like game utilizing various Mbed-compatible sensors

Dependencies:   mbed 4DGL-uLCD-SE PinDetect

Committer:
sralph3
Date:
Thu Jan 03 19:56:27 2019 +0000
Revision:
8:137330cfe63d
Parent:
0:f2cc64948895
Jan 3, 2019

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sralph3 0:f2cc64948895 1 #ifndef ABSAST_H
sralph3 0:f2cc64948895 2 #define ABSAST_H
sralph3 0:f2cc64948895 3
sralph3 0:f2cc64948895 4 #include <string>
sralph3 0:f2cc64948895 5 #include <iostream>
sralph3 0:f2cc64948895 6 #include "ScreenObject.h"
sralph3 0:f2cc64948895 7
sralph3 0:f2cc64948895 8 class AbsAst : public ScreenObject
sralph3 0:f2cc64948895 9 {
sralph3 0:f2cc64948895 10 public:
sralph3 0:f2cc64948895 11 virtual void draw() = 0;
sralph3 0:f2cc64948895 12 virtual void update() = 0;
sralph3 0:f2cc64948895 13 bool outB();
sralph3 0:f2cc64948895 14
sralph3 0:f2cc64948895 15 protected:
sralph3 0:f2cc64948895 16 int dx;
sralph3 0:f2cc64948895 17 int dy;
sralph3 0:f2cc64948895 18 };
sralph3 0:f2cc64948895 19 #endif