Snake

Dependencies:   mbed

Fork of el17x2l by LI Xiang

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Food.h Source File

Food.h

00001 #ifndef FOOD_H
00002 #define FOOD_H
00003 
00004 #include "mbed.h"
00005 #include "N5110.h"
00006 #include "Gamepad.h"
00007 
00008 class Food
00009 {
00010 
00011 public:
00012     Food();
00013     ~Food();
00014     void creat(N5110 &lcd);
00015     Vector2D get_pos();
00016 
00017 private:
00018     int _x;
00019     int _y;
00020     int _size;
00021 
00022 };
00023 #endif