Adam Baker 201166301

Dependencies:   mbed Gamepad N5110

BlockheadEngine/BlockheadEngine.h

Committer:
adambakerwa
Date:
2019-05-03
Revision:
35:7d69c0822ea9
Parent:
34:911d7d05a8d2
Child:
36:6f452777b9ce

File content as of revision 35:7d69c0822ea9:

#ifndef BLOCKHEADENGINE_H
#define BLOCKHEADENGINE_H

#include "mbed.h"
#include "Gamepad.h"
#include "N5110.h"
#include "Runner.h"
#include "Levels.h"
#include "Animation.h"


class BlockheadEngine
{
    
public:
    
    BlockheadEngine();
    ~BlockheadEngine();
    
    void init();
    void continueInit();
    int playgame(N5110 &lcd, Gamepad &pad);

private:

    Runner _runner;
    Levels _lev;
    
    Pos _pos;


    int _gameover;
    int _level;
};

#endif