Li Boyuan / Mbed 2 deprecated PlaneWar

Dependencies:   mbed Gamepad N5110

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers life.h Source File

life.h

00001 #ifndef LIFE_H
00002 #define LIFE_H
00003 
00004 
00005 #include "Bitmap.h"
00006 #include "N5110.h"
00007 #include "Gamepad.h"
00008 class life{
00009     public:
00010     void init();
00011     void update();
00012     void display(N5110 &lcd);
00013     int liferest();
00014     
00015     private:
00016     int _x;
00017     int _y;
00018     int _num;
00019     int _width;
00020     int _height;
00021     int data[56];
00022 };
00023 #endif