Doxyjen of the Bird.h

Dependencies:   mbed N5110

Game1/Game1.h

Committer:
Wuuu
Date:
2019-05-05
Revision:
4:bf257e628311
Parent:
0:0aea7b9ba421
Child:
5:abe12cabd0b7

File content as of revision 4:bf257e628311:

#ifndef GAME1_H
#define GAME1_H

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

/**  Game1 class

*@brief Library to combine the copter and wall
*/

class Game1
{
public:

    /**Constructor*/
    Game1();
    /**Destructor*/
    ~Game1();
    /**
    *@brief Initialise all parameters of the Game1
    */
    void init();
    /**
    *@brief Draw the bird, wall and live scores
    *@param lcd, pad
    *@returns The number to test whether the copter crash the wall
    *@details Use the method to use function within N5110.h and Gamepad.h file
    */
    int draw(N5110 &lcd, Gamepad &pad);
    /**
    *@brief Get the live score
    *@return The live score
    */
    int get_score();

private:
    
    int _m;
    int _s;
    int _a;
    int _b;
    int _c;
    Copter _Copter;
    Wall _Wall;
};

#endif