Stephen Ralph / Mbed 2 deprecated Asteroids

Dependencies:   mbed 4DGL-uLCD-SE PinDetect

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ScreenObject.h Source File

ScreenObject.h

00001 #ifndef SCREENOBJECT_H
00002 #define SCREENOBJECT_H
00003 #include <string>
00004 #include <iostream>
00005 
00006 class ScreenObject
00007 {
00008     public:
00009         int xpos;
00010         int ypos;
00011 
00012         virtual void draw() = 0;
00013         virtual void update() = 0;
00014         virtual bool outB() = 0;
00015         
00016     private:
00017 
00018         
00019 };
00020 #endif
00021 
00022