ECE 4180 Final
Dependencies: mbed wave_player mbed-rtos C12832_lcd 4DGL-uLCD-SE LCD_fonts SDFileSystem
Lane.hpp
- Committer:
- yqin70
- Date:
- 2019-12-08
- Revision:
- 21:cbcbb3480cad
- Parent:
- 19:d65f9fb1023b
File content as of revision 21:cbcbb3480cad:
#ifndef lane_hpp #define lane_hpp #include <vector> #include "globals.h" #include "Bubble.hpp" class Lane { public: Lane(int x, int y); void add(); void draw(); void moveDown(); bool isEmpty(); bool checkHit(); private: std::vector<Bubble> pops; std::vector<Bubble>::iterator pops_ptr; int xpos; int ypos; bool empty; }; #endif //lane_hpp