Skip to content
Snippets Groups Projects
Commit c4bf0a3c authored by Dallin Nickel (djn011)'s avatar Dallin Nickel (djn011)
Browse files

Binding class created

parent 69c8bb90
No related branches found
No related tags found
2 merge requests!45Prototype to Master for Milestone 5,!44Demo
......@@ -23,10 +23,18 @@ public class Binding {
this.hk2 = hotkey2;
}
/**
* return the ID of the hotkey/action binding
* @return ID
*/
public int getID() {
return this.hk1.getID();
}
/**
* return the action code to be preformed when the action is pressed
* @return action keyCode
*/
public int getActionCode() {
return this.hk2.getKeyCode();
}
......
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