|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrobocode.Event
robocode.KeyEvent
robocode.KeyPressedEvent
public final class KeyPressedEvent
A KeyPressedEvent is sent to onKeyPressed() when a key has been pressed on the keyboard.
KeyReleasedEvent,
KeyTypedEvent,
Serialized Form| Constructor Summary | |
|---|---|
KeyPressedEvent(java.awt.event.KeyEvent source)
Called by the game to create a new KeyPressedEvent. |
|
| Method Summary |
|---|
| Methods inherited from class robocode.KeyEvent |
|---|
getSourceEvent |
| Methods inherited from class robocode.Event |
|---|
compareTo, getPriority, getTime, setPriority, setTime |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyPressedEvent(java.awt.event.KeyEvent source)
source - the source key event originating from the AWT.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||