Faizan and Pages fun little game
Dependencies: 4DGL-uLCD-SE mbed SDFileSystem wave_player
Diff: stack.h
- Revision:
- 2:4c5f409d6bb8
- Parent:
- 1:9eeeb0d8f036
- Child:
- 3:058e10b8ecf6
--- a/stack.h Sat Oct 29 19:35:46 2016 +0000 +++ b/stack.h Mon Oct 31 00:59:12 2016 +0000 @@ -2,18 +2,21 @@ #define STACK_H #include "uLCD_4DGL.h" +#include "food.h" +#include <vector> +using namespace std; class Stack { public: Stack(int,uLCD_4DGL*); - draw(); - move(int); + void draw(); + void move(int); void drawPlayer(); void drawStack(); private: bool isBad; - std::vector<Food> stackOfFood; + vector<Food> stackOfFood; uLCD_4DGL * lcd; int x; };