World In Balance game

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Committer:
jchin32
Date:
Wed Nov 08 20:25:03 2017 +0000
Revision:
0:1305fa20a8db
World In Balance Game

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jchin32 0:1305fa20a8db 1 #ifndef __ABSTRACTASTEROID_H__
jchin32 0:1305fa20a8db 2 #define __ABSTRACTASTEROID_H__
jchin32 0:1305fa20a8db 3
jchin32 0:1305fa20a8db 4 #include "ScreenObject.h"
jchin32 0:1305fa20a8db 5
jchin32 0:1305fa20a8db 6 class AbstractAsteroid : public ScreenObject {
jchin32 0:1305fa20a8db 7 public:
jchin32 0:1305fa20a8db 8 int getXPath() const;
jchin32 0:1305fa20a8db 9 int getYPath() const;
jchin32 0:1305fa20a8db 10 int getSpeed() const;
jchin32 0:1305fa20a8db 11 void setXPath(int);
jchin32 0:1305fa20a8db 12 void setYPath(int);
jchin32 0:1305fa20a8db 13 void setSpeed(int);
jchin32 0:1305fa20a8db 14 virtual void draw();
jchin32 0:1305fa20a8db 15 virtual void update();
jchin32 0:1305fa20a8db 16
jchin32 0:1305fa20a8db 17 private:
jchin32 0:1305fa20a8db 18 int xPath;
jchin32 0:1305fa20a8db 19 int yPath;
jchin32 0:1305fa20a8db 20 int speed;
jchin32 0:1305fa20a8db 21 };
jchin32 0:1305fa20a8db 22
jchin32 0:1305fa20a8db 23 #endif