ELEC2645 (2018/19) / Mbed 2 deprecated el17mtu_

Dependencies:   mbed

ModeA/ModeA.h

Committer:
el17mtu
Date:
2019-05-08
Revision:
7:9a30314fa41f
Parent:
5:1c56acecc96e

File content as of revision 7:9a30314fa41f:

#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