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
Game/Game.cpp
- Committer:
- S_Tingle
- Date:
- 2019-04-13
- Revision:
- 4:999ab7216827
- Parent:
- 3:72e0f4d267ed
File content as of revision 4:999ab7216827:
#include "Game.h" Game::Game() { } Game::~Game() { } void Game::init() { } void Game::read_input(Gamepad &pad) { dir = pad.get_direction(); } void Game::drawSprite(N5110 &lcd) { smiley.drawSprite(lcd); } void Game::movement(Gamepad &pad) { smiley.movement(dir); }