robocode

Class KeyTypedEvent

Implemented Interfaces:
Comparable, Serializable

public final class KeyTypedEvent
extends KeyEvent

A KeyTypedEvent is sent to onKeyTyped() when a key has been typed (pressed and released) on the keyboard.
Author:
Pavel Savara (original)
Since:
1.6.1
See Also:
KeyPressedEvent, KeyReleasedEvent

Constructor Summary

KeyTypedEvent(java.awt.event.KeyEvent source)
Called by the game to create a new KeyTypedEvent.

Method Summary

Methods inherited from class robocode.KeyEvent

getSourceEvent

Methods inherited from class robocode.Event

compareTo, getPriority, getTime

Constructor Details

KeyTypedEvent

public KeyTypedEvent(java.awt.event.KeyEvent source)
Called by the game to create a new KeyTypedEvent.
Parameters:
source - the source key event originating from the AWT.