Stephen Ralph / Mbed 2 deprecated Asteroids

Dependencies:   mbed 4DGL-uLCD-SE PinDetect

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers AbsAst.h Source File

AbsAst.h

00001 #ifndef ABSAST_H
00002 #define ABSAST_H
00003 
00004 #include <string>
00005 #include <iostream>
00006 #include "ScreenObject.h"
00007 
00008 class AbsAst : public ScreenObject
00009     {
00010     public:
00011         virtual void draw() = 0;
00012         virtual void update() = 0;
00013         bool outB();
00014 
00015     protected:
00016         int dx;
00017         int dy;
00018      };
00019 #endif