![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ECE 4180 Final
Dependencies: mbed wave_player mbed-rtos C12832_lcd 4DGL-uLCD-SE LCD_fonts SDFileSystem
Lane.hpp
- Committer:
- jcrane32
- Date:
- 2019-12-06
- Revision:
- 19:d65f9fb1023b
- Child:
- 21:cbcbb3480cad
File content as of revision 19:d65f9fb1023b:
#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(); void checkHit(); private: std::vector<Bubble> pops; std::vector<Bubble>::iterator pops_ptr; int xpos; int ypos; bool empty; }; #endif //lane_hpp