ECE 4180 Final
Dependencies: mbed wave_player mbed-rtos C12832_lcd 4DGL-uLCD-SE LCD_fonts SDFileSystem
Bubble.hpp
- Committer:
- jcrane32
- Date:
- 2019-12-06
- Revision:
- 20:7d56cdcbc9a5
- Parent:
- 19:d65f9fb1023b
File content as of revision 20:7d56cdcbc9a5:
#ifndef bubble_hpp #define bubble_hpp #include "globals.h" class Bubble { public: Bubble(int x, int y); void draw(); void moveDown(); int getYpos(); void clear(); private: void update(); int xpos; int ypos; int newypos; // these may need to be adjusted to prevent weird visual artifacts if // bubbles collide const static int bubbleSpeed = 15; const static int bubbleRadius = 10; }; #endif //bubble_hpp