ELEC2645 (2018/19) / Mbed 2 deprecated el17mtu_

Dependencies:   mbed

ModeA/ModeA.h

Committer:
el17mtu
Date:
2019-05-09
Revision:
18:59befe1eaa56
Parent:
14:558c85380f84
Child:
20:d9987ed262c7

File content as of revision 18:59befe1eaa56:

#ifndef MODEA_H
#define MODEA_H

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

// function prototypes

class ModeA
{

public:
    ModeA();
    ~ModeA();

    void initialise(N5110 &lcd);
    void Game(N5110 &lcd);

   
private:
int x_position;
   int y_position;

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

    int size_bottom;
    int size_top;
    
   
};
#endif