Adam Baker 201166301

Dependencies:   mbed Gamepad N5110

BlockheadEngine/BlockheadEngine.h

Committer:
adambakerwa
Date:
2019-05-02
Revision:
34:911d7d05a8d2
Parent:
31:bf765e3961f1
Child:
35:7d69c0822ea9

File content as of revision 34:911d7d05a8d2:

#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;
    
    Move _move;
    Pos _pos;


    int _gameover;
    int _level;
};

#endif