
Simple vertical scrolling space shooter game using navigation switch (joystick), uLCD-144-G2, and a pushbutton switch.
Dependencies: 4DGL-uLCD-SE PinDetect mbed
Display/Shot.h
- Committer:
- jaspinall3
- Date:
- 2016-03-17
- Revision:
- 0:5c666e5cd22d
File content as of revision 0:5c666e5cd22d:
#ifndef SHOT_H #define SHOT_H #include "Circle.h" class Shot : public Circle { public: Shot(int x, int y, int dy, int color, uLCD_4DGL *uLCD); int getY(); int getX(); void update(); protected: int _dy; int _color; }; #endif