cpw.mods.fml.client.modloader
Class ModLoaderKeyBindingHandler
java.lang.Object
  
cpw.mods.fml.client.registry.KeyBindingRegistry.KeyHandler
      
cpw.mods.fml.client.modloader.ModLoaderKeyBindingHandler
- All Implemented Interfaces: 
 - ITickHandler
 
public class ModLoaderKeyBindingHandler
- extends KeyBindingRegistry.KeyHandler
 
- Author:
 
  - cpw
 
 
 
 
 
ModLoaderKeyBindingHandler
public ModLoaderKeyBindingHandler()
fireKeyEvent
public void fireKeyEvent(KeyBinding kb)
 
keyDown
public void keyDown(EnumSet<TickType> type,
                    KeyBinding kb,
                    boolean end,
                    boolean repeats)
- Description copied from class: 
KeyBindingRegistry.KeyHandler 
- Called when the key is first in the down position on any tick from the 
KeyBindingRegistry.KeyHandler.ticks()
 set. Will be called subsequently with isRepeat set to true
- Specified by:
 keyDown in class KeyBindingRegistry.KeyHandler
 
- Parameters:
 type - the type(s) of tick that fired when this key was first downend - was it an end or start tick which fired the keyrepeats - is it a repeat key event- See Also:
 KeyBindingRegistry.KeyHandler.keyUp(EnumSet, KeyBinding, boolean)
 
 
keyUp
public void keyUp(EnumSet<TickType> type,
                  KeyBinding kb,
                  boolean end)
- Description copied from class: 
KeyBindingRegistry.KeyHandler 
- Fired once when the key changes state from down to up
- Specified by:
 keyUp in class KeyBindingRegistry.KeyHandler
 
- Parameters:
 type - the type(s) of tick that fired when this key was first downend - was it an end or start tick which fired the key- See Also:
 KeyBindingRegistry.KeyHandler.keyDown(EnumSet, KeyBinding, boolean, boolean)
 
 
ticks
public EnumSet<TickType> ticks()
- Description copied from class: 
KeyBindingRegistry.KeyHandler 
- This is the list of ticks for which the key binding should trigger. The only
 valid ticks are client side ticks, obviously.
- Specified by:
 ticks in interface ITickHandler- Specified by:
 ticks in class KeyBindingRegistry.KeyHandler
 
- See Also:
 ITickHandler.ticks()
 
 
getLabel
public String getLabel()
- Description copied from interface: 
ITickHandler 
- A profiling label for this tick handler