STARK: Handle inventory right click

This commit is contained in:
Bastien Bouclet 2015-07-11 16:35:54 +02:00
parent 2a28e12e4b
commit 6bbadd9346
7 changed files with 36 additions and 4 deletions

View file

@ -181,6 +181,8 @@ void StarkEngine::mainLoop() {
_cursor->setMousePosition(e.mouse);
} else if (e.type == Common::EVENT_LBUTTONDOWN) {
_ui->handleClick();
} else if (e.type == Common::EVENT_RBUTTONDOWN) {
_ui->handleRightClick();
}
/*if (event.type == Common::EVENT_KEYDOWN || event.type == Common::EVENT_KEYUP) {
handleControls(event.type, event.kbd.keycode, event.kbd.flags, event.kbd.ascii);