robocode
Class KeyPressedEvent
java.lang.Object
robocode.Event
robocode.KeyEvent
robocode.KeyPressedEvent
- All Implemented Interfaces:
- Serializable, Comparable
public final class KeyPressedEvent
- extends KeyEvent
A KeyPressedEvent is sent to onKeyPressed()
when a key has been pressed on the keyboard.
- Since:
- 1.6.1
- Author:
- Pavel Savara (original)
- See Also:
KeyReleasedEvent
,
KeyTypedEvent
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyPressedEvent
public KeyPressedEvent(KeyEvent source)
- Called by the game to create a new KeyPressedEvent.
- Parameters:
source
- the source key event originating from the AWT.
Copyright © 2010 Robocode. All Rights Reserved.