AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
games/Game.cpp
- Committer:
- sillevl
- Date:
- 2015-05-23
- Revision:
- 13:ece97a1108cc
- Parent:
- 12:22e9ef610ea2
- Child:
- 14:e0bfee0a5e66
File content as of revision 13:ece97a1108cc:
#include "Game.h" Game::Game(Board* board){ this->board = board; lcd = board->lcd; leds = board->leds; key = board->key; button = board->button; keyboard = board->keyboard; buzzer = board->buzzer; //keyboard->attach(this,&Game::keyEvent); //keyboard->start(); leds->off(Leds::ALL); } uint32_t Game::keyEvent(uint32_t key){ // play key pressed sound ? // do nothing by default return 0; }