Various little fixes (#118)
* Add missing override qualifier * Mostly shadowing, virtual destructor and other little things
This commit is contained in:
committed by
Jérôme Leclercq
parent
ee9712fdcd
commit
c2e4ccaf72
@@ -46,7 +46,7 @@ void KeyState::DrawMenu()
|
||||
m_text.SetContent("Clic on a key, this text should change !\nN for alternating event\nM for Menu");
|
||||
}
|
||||
|
||||
void KeyState::ManageInput(KeyStatus isKeyPressed, const Nz::WindowEvent::KeyEvent& key, Ndk::StateMachine& fsm)
|
||||
void KeyState::ManageInput(KeyStatus /*isKeyPressed*/, const Nz::WindowEvent::KeyEvent& key, Ndk::StateMachine& fsm)
|
||||
{
|
||||
if (key.code == Nz::Keyboard::Key::M && key.shift)
|
||||
fsm.ChangeState(StateFactory::Get(EventStatus::Menu));
|
||||
|
||||
Reference in New Issue
Block a user