Laila Al Badwawi 200906179 SpaceInvaders I declare this my own independent work and understand the university rules on plagiarism.

Dependencies:   mbed

Alien/Alien.h

Committer:
fy14lkaa
Date:
2019-05-05
Revision:
95:1b43f9c332bc
Parent:
92:8a1b14488ca5
Child:
127:8bd8cf136f19

File content as of revision 95:1b43f9c332bc:

#ifndef Alien_H
#define Alien_H



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

class Alien
{
public:
    Alien();
    ~Alien();


    void init(int x_alien,int y_alien, int speed_alien);
    void draw(N5110 &lcd);
    void update(Direction d,float mag);

private:


    int _x_alien;
     //int _alien[12][10];
    int _y_alien;
    int _speed_alien;
    Direction d;
    float mag;
};
#endif