ELEC2645 (2018/19) / Mbed 2 deprecated el17mtu_

Dependencies:   mbed

ModeA/ModeA.h

Committer:
el17mtu
Date:
2019-05-08
Revision:
9:571f92b0211b
Parent:
5:1c56acecc96e
Child:
10:1c3bdbf2fe9f
Child:
14:558c85380f84

File content as of revision 9:571f92b0211b:

#ifndef MODEA_H
#define MODEA_H

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

// function prototypes
void mode_A();


class ModeA
{

public:
    ModeA();
    ~ModeA();

    void screen(N5110 &lcd);
    void initialise(N5110 &lcd);
    void Bird(N5110 &lcd);

   
private:
int x_position;
   int y_position;

   int gravity;
   int screen_width;
   int bar_width;
   int bar_speed;
   int speed;
   

    int size_bottom;
    int size_top;
    
   
};
#endif