Skip to content
Snippets Groups Projects
Commit 8e2577af authored by NikolaBabic's avatar NikolaBabic
Browse files

Added HotkeyDetector interface

parent 4cfdade1
No related branches found
No related tags found
1 merge request!32Base system
package model;
public interface HotkeyDetector {
/**
* Detects if a hotkey with the given id was pressed.
* @param id The id of the hotkey which is checked.
* @return If the hotkey was pressed.
*/
boolean wasPressed(int id);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment