John Aspinall / Mbed 2 deprecated SpaceGame

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Star.h Source File

Star.h

00001 #ifndef STAR_H
00002 #define STAR_H
00003 
00004 
00005 #include "uLCD_4DGL.h"
00006 
00007 class Star {
00008 public:
00009      Star( uLCD_4DGL *uLCD);
00010      void update();
00011      int offScreen();
00012       
00013 private:
00014     int _x;
00015     int _y;
00016     int _dy;
00017     uLCD_4DGL *_uLCDptr;
00018     
00019 };
00020 
00021 #endif