LAB: Remove superfluous function

This commit is contained in:
Filippos Karapetis 2015-12-17 00:19:13 +02:00 committed by Willem Jan Palenstijn
parent 5aef1367e2
commit 09539d76ac
3 changed files with 2 additions and 9 deletions

View file

@ -232,13 +232,6 @@ bool EventManager::mouseButton(uint16 *x, uint16 *y, bool leftButton) {
return false;
}
Button *EventManager::mouseButton() {
Button *temp = _lastButtonHit;
_lastButtonHit = nullptr;
return temp;
}
/**
* Checks whether or not a key has been pressed.
*/