Johnathan Chin / Mbed 2 deprecated Lab5

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers AbstractAsteroid.h Source File

AbstractAsteroid.h

00001 #ifndef __ABSTRACTASTEROID_H__
00002 #define __ABSTRACTASTEROID_H__
00003 
00004 #include "ScreenObject.h"
00005 
00006 class AbstractAsteroid : public ScreenObject {
00007     public:
00008     int getXPath() const;
00009     int getYPath() const;
00010     int getSpeed() const;
00011     void setXPath(int);
00012     void setYPath(int);
00013     void setSpeed(int);
00014     virtual void draw();
00015     virtual void update();
00016     
00017     private:
00018     int xPath;
00019     int yPath;
00020     int speed;       
00021 };
00022 
00023 #endif