zombie.core.input
Interface KeyListener

All Superinterfaces:
ControlledInputReciever
All Known Subinterfaces:
InputListener

public interface KeyListener
extends ControlledInputReciever

Describes classes capable of responding to key presses

Author:
kevin

Method Summary
 void keyPressed(int key, char c)
          Notification that a key was pressed
 void keyReleased(int key, char c)
          Notification that a key was released
 
Methods inherited from interface zombie.core.input.ControlledInputReciever
inputEnded, inputStarted, isAcceptingInput, setInput
 

Method Detail

keyPressed

void keyPressed(int key,
                char c)
Notification that a key was pressed

Parameters:
key - The key code that was pressed (@see org.newdawn.slick.Input)
c - The character of the key that was pressed

keyReleased

void keyReleased(int key,
                 char c)
Notification that a key was released

Parameters:
key - The key code that was released (@see org.newdawn.slick.Input)
c - The character of the key that was released