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.
Game/Game.h
- Committer:
- joshdavy
- Date:
- 2019-04-10
- Revision:
- 6:2ca1516ec1e2
- Parent:
- 3:b34685dbdb8d
- Child:
- 7:68e06dda79f7
File content as of revision 6:2ca1516ec1e2:
#ifndef GAME_H
#define GAME_H
/*Game Class*/
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Sprite.h"
#include "Player.h"
#include "Level.h"
class Game {
public:
Game();
~Game();
void read_input(Gamepad &pad);
void update(Gamepad &pad);
void draw(N5110 &lcd);
private:
Direction _d;
float _mag;
Player _player;
Level _level;
};
#endif