mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
over ride
This commit is contained in:
parent
3802af1e70
commit
c65626892b
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ namespace geode {
|
|||
|
||||
virtual bool setup(InitArgs... args) = 0;
|
||||
|
||||
void keyDown(cocos2d::enumKeyCodes key) {
|
||||
void keyDown(cocos2d::enumKeyCodes key) override {
|
||||
if (key == cocos2d::enumKeyCodes::KEY_Escape) return this->onClose(nullptr);
|
||||
if (key == cocos2d::enumKeyCodes::KEY_Space) return;
|
||||
return FLAlertLayer::keyDown(key);
|
||||
|
|
Loading…
Reference in a new issue