Remove unused function KeyPoll::isUp()

This function was marked as unused by cppcheck.
This commit is contained in:
Misa 2021-01-02 00:21:47 -08:00 committed by Ethan Lee
parent ad34e95128
commit 916a19c09c
2 changed files with 0 additions and 7 deletions

View File

@ -323,11 +323,6 @@ bool KeyPoll::isDown(SDL_Keycode key)
return keymap[key];
}
bool KeyPoll::isUp(SDL_Keycode key)
{
return !keymap[key];
}
bool KeyPoll::isDown(std::vector<SDL_GameControllerButton> buttons)
{
for (size_t i = 0; i < buttons.size(); i += 1)

View File

@ -54,8 +54,6 @@ public:
bool isDown(SDL_Keycode key);
bool isUp(SDL_Keycode key);
bool isDown(std::vector<SDL_GameControllerButton> buttons);
bool isDown(SDL_GameControllerButton button);
bool controllerButtonDown();