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

Dependencies:   mbed 4DGL-uLCD-SE PinDetect

AbsAst.h

Committer:
sralph3
Date:
2019-01-03
Revision:
8:137330cfe63d
Parent:
0:f2cc64948895

File content as of revision 8:137330cfe63d:

#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