Similar to the example code.

Dependencies:   mbed N5110

Bird/Bird.h

Committer:
2016110307
Date:
2019-05-04
Revision:
1:85ab0d979b57
Parent:
0:97418ec4c37d
Child:
2:533869513c4a

File content as of revision 1:85ab0d979b57:

#ifndef BIRD_H
#define BIRD_H

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


class Bird

{
    public :
    void init();
    void set_speed(int speed);
    void draw(N5110 &lcd);
    void update(Gamepad &pad);
    void background(N5110 &lcd);
    int get_y();

    
    
    
    private :
    int _y;
    int _head;
    int _speed;

};

#endif