ELEC2645 (2017/18) / Mbed 2 deprecated el17yw

Dependencies:   mbed

boom/boom.h

Committer:
RickYu
Date:
2018-04-16
Revision:
5:0a116644cce2
Parent:
4:55d904040636
Child:
7:1964f649676e

File content as of revision 5:0a116644cce2:

#ifndef BOOM_H
#define BOOM_H

#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h" 
class boom{

public:
   boom();
   ~boom();
   void init(int x,int y);
   void draw(N5110 &lcd);
   void update();
   Vector2D get_pos();
   void set_pos(Vector2D p);
private:
    int boom_x;
    int boom_y;
    int boom_speed;
    

   
    
};
    
    
#endif