feat: key pressed event interception & 'owner' input.add_callback third argument
This commit is contained in:
@@ -83,6 +83,7 @@ LevelScreen::LevelScreen(Engine& engine, std::unique_ptr<Level> levelPtr)
|
||||
keepAlive(Events::getBinding(BIND_CHUNKS_RELOAD).onactived.add([=](){
|
||||
player->chunks->saveAndClear();
|
||||
worldRenderer->clear();
|
||||
return false;
|
||||
}));
|
||||
|
||||
animator = std::make_unique<TextureAnimator>();
|
||||
|
||||
Reference in New Issue
Block a user