]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/client/game.cpp
Make GitHub Actions Happy try 1
[dragonfireclient.git] / src / client / game.cpp
index 69feeef9712919c63f2ce78ee8db9f84e2c6123d..5893e8ac9f753c4cd1ec1d7088af5bdb2adcd2a4 100644 (file)
@@ -3373,6 +3373,26 @@ void Game::readSettings()
        m_does_lost_focus_pause_game = g_settings->getBool("pause_on_lost_focus");
 }
 
+bool Game::isKeyDown(GameKeyType k)
+{
+       return input->isKeyDown(k);
+}
+
+bool Game::wasKeyDown(GameKeyType k)
+{
+       return input->wasKeyDown(k);
+}
+
+bool Game::wasKeyPressed(GameKeyType k)
+{
+       return input->wasKeyPressed(k);
+}
+
+bool Game::wasKeyReleased(GameKeyType k)
+{
+       return input->wasKeyReleased(k);
+}
+
 /****************************************************************************/
 /****************************************************************************
  Shutdown / cleanup