cpw.mods.fml.client.registry
Class KeyBindingRegistry

java.lang.Object
  extended by cpw.mods.fml.client.registry.KeyBindingRegistry

public class KeyBindingRegistry
extends Object


Nested Class Summary
static class KeyBindingRegistry.KeyHandler
          Extend this class to register a KeyBinding and recieve callback when the key binding is triggered
 
Constructor Summary
KeyBindingRegistry()
           
 
Method Summary
static KeyBindingRegistry instance()
          Deprecated. 
static void registerKeyBinding(KeyBindingRegistry.KeyHandler handler)
          Register a KeyHandler to the game.
 void uploadKeyBindingsToGame(GameSettings settings)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyBindingRegistry

public KeyBindingRegistry()
Method Detail

registerKeyBinding

public static void registerKeyBinding(KeyBindingRegistry.KeyHandler handler)
Register a KeyHandler to the game. This handler will be called on certain tick events if any of its key is inactive or has recently changed state

Parameters:
handler -

instance

@Deprecated
public static KeyBindingRegistry instance()
Deprecated. 


uploadKeyBindingsToGame

public void uploadKeyBindingsToGame(GameSettings settings)