ELEC2645 (2017/18) / Mbed 2 deprecated el17yw

Dependencies:   mbed

boom/boom.h

Committer:
RickYu
Date:
2018-04-17
Revision:
7:1964f649676e
Parent:
5:0a116644cce2
Child:
17:7acfc8a0c277

File content as of revision 7:1964f649676e:

#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 p1);
private:
    int boom_x;
    int boom_y;
    int boom_speed;
    

   
    
};
    
    
#endif