Simple vertical scrolling space shooter game using navigation switch (joystick), uLCD-144-G2, and a pushbutton switch.

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Display/Star.h

Committer:
jaspinall3
Date:
2016-03-17
Revision:
0:5c666e5cd22d

File content as of revision 0:5c666e5cd22d:

#ifndef STAR_H
#define STAR_H


#include "uLCD_4DGL.h"

class Star {
public:
     Star( uLCD_4DGL *uLCD);
     void update();
     int offScreen();
      
private:
    int _x;
    int _y;
    int _dy;
    uLCD_4DGL *_uLCDptr;
    
};

#endif