John Aspinall / Mbed 2 deprecated SpaceGame

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Shot.h Source File

Shot.h

00001 #ifndef SHOT_H
00002 #define SHOT_H
00003 
00004 #include "Circle.h"
00005 
00006 class Shot : public Circle {
00007 public:
00008     Shot(int x, int y, int dy, int color, uLCD_4DGL *uLCD);
00009     int getY();
00010     int getX();
00011     void update();
00012     
00013 protected:
00014     int _dy;
00015     int _color;
00016 };
00017 
00018 #endif