ch.sahits.game.event
Class KeyPressEvent

java.lang.Object
  extended by ch.sahits.game.event.Event
      extended by ch.sahits.game.event.KeyPressEvent

public class KeyPressEvent
extends Event

This event is wraps key events.

Author:
andi

Field Summary
private  KeyEvent key
           
 
Constructor Summary
KeyPressEvent(KeyEvent key)
           
 
Method Summary
 KeyEvent getKey()
           
 
Methods inherited from class ch.sahits.game.event.Event
add, notify, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private final KeyEvent key
Constructor Detail

KeyPressEvent

public KeyPressEvent(KeyEvent key)
Parameters:
key -
Method Detail

getKey

public KeyEvent getKey()
Returns:
the key


Copyright © 2012 Sahits GmbH. All Rights Reserved.