robocode
Class KeyEvent
- Comparable, Serializable
public abstract class KeyEvent
Super class of all events that originates from the keyboard.
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.
|
KeyEvent
public KeyEvent(KeyEvent source)
Called by the game to create a new KeyEvent.
source
- the source key event originating from the AWT.
getSourceEvent
public 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.
- the source key event that originates from the AWT.