Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Levelengine.h
- Committer:
- el17arm
- Date:
- 2019-03-29
- Revision:
- 14:dc3524d11921
- Parent:
- 12:adf4ec04ced2
- Child:
- 15:2bda80896a84
File content as of revision 14:dc3524d11921:
#ifndef Levelengine_H
#define Levelengine_H
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Minerengine.h"
const int solid_block[9] = {
1,1,1,
1,0,1,
1,1,1,
};
class Levelengine
{
public:
Levelengine();
~Levelengine();
void central_cavern(N5110 &lcd);
void collision_points(N5110 &lcd, Gamepad &pad);
private:
Minerengine miner;
int collision;
};
#endif