|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrobocode.Event
robocode.KeyEvent
public abstract class KeyEvent
Super class of all events that originates from the keyboard.
| Constructor Summary | |
|---|---|
KeyEvent(java.awt.event.KeyEvent source)
Called by the game to create a new KeyEvent. |
|
| Method Summary | |
|---|---|
java.awt.event.KeyEvent |
getSourceEvent()
Do not call this method! This method is used by the game to determine the type of the source key event that occurred in the AWT. |
| Methods inherited from class robocode.Event |
|---|
compareTo, getPriority, getTime, setPriority, setTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyEvent(java.awt.event.KeyEvent source)
source - the source key event originating from the AWT.| Method Detail |
|---|
public java.awt.event.KeyEvent getSourceEvent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||