Skip to content

Commit

Permalink
Fix registerKeyBinding method name typo, fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-albers committed Apr 1, 2017
1 parent 887dbd5 commit 6a81b14
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/eu/the5zig/mod/ModAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,23 @@ public interface ModAPI {
* @param category the category of the keybinding.
* @return the registered keybinding.
* @see org.lwjgl.input.Keyboard
* @deprecated method misspelled, use {@link #registerKeyBinding(String, int, String)}.
*/
@Deprecated()
IKeybinding registerKeyBiding(String description, int keyCode, String category);

/**
* Registers a new keybinding.
*
* @param description the name / description of the keybinding.
* @param keyCode the key code of the keybinding.
* @param category the category of the keybinding.
* @return the registered keybinding.
* @see org.lwjgl.input.Keyboard
* @since 1.0.11
*/
IKeybinding registerKeyBinding(String description, int keyCode, String category);

/**
* @return a class that contains some utility methods for rendering strings and rectangles.
*/
Expand Down

0 comments on commit 6a81b14

Please sign in to comment.