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 SCREENOBJECT_H
sralph3 0:f2cc64948895 2 #define SCREENOBJECT_H
sralph3 0:f2cc64948895 3 #include <string>
sralph3 0:f2cc64948895 4 #include <iostream>
sralph3 0:f2cc64948895 5
sralph3 0:f2cc64948895 6 class ScreenObject
sralph3 0:f2cc64948895 7 {
sralph3 0:f2cc64948895 8 public:
sralph3 0:f2cc64948895 9 int xpos;
sralph3 0:f2cc64948895 10 int ypos;
sralph3 0:f2cc64948895 11
sralph3 0:f2cc64948895 12 virtual void draw() = 0;
sralph3 0:f2cc64948895 13 virtual void update() = 0;
sralph3 0:f2cc64948895 14 virtual bool outB() = 0;
sralph3 0:f2cc64948895 15
sralph3 0:f2cc64948895 16 private:
sralph3 0:f2cc64948895 17
sralph3 0:f2cc64948895 18
sralph3 0:f2cc64948895 19 };
sralph3 0:f2cc64948895 20 #endif
sralph3 0:f2cc64948895 21
sralph3 0:f2cc64948895 22