ELEC2645 (2018/19) / Mbed 2 deprecated fy14lkaa

Dependencies:   mbed

bullet/bullet.h

Committer:
fy14lkaa
Date:
2019-04-19
Revision:
26:2801e3268228
Parent:
25:70c70192eae5
Child:
27:4039cf79b3ec

File content as of revision 26:2801e3268228:

#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "alien.h"

/** bullet Class
@author Laila Al Badwawi, University of Leeds
@brief Controls the bullet in the SpaceInvaders game 
@date April 2019
*/ 

class bullet 
{

public:
   bullet();
    ~bullet();
    
    void init(int size,int speed);
    void draw(N5110 &lcd);
     void update();
       void set_velocity(Vector2D v);