Make isDown accept a list of keys (issue #121)

This commit is contained in:
Bart van Strien
2011-03-19 12:47:39 +01:00
parent 20364c67bd
commit 766c863484
3 changed files with 18 additions and 15 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ namespace sdl
* @param key A key identifier.
* @return boolean
**/
bool isDown(Key key) const;
bool isDown(Key * keylist) const;
/**
* Enables key repeating.
@@ -78,4 +78,4 @@ namespace sdl
} // keyboard
} // love
#endif // LOVE_KEYBOARD_SDL_KEYBOARD_H
#endif // LOVE_KEYBOARD_SDL_KEYBOARD_H