public abstract class KeyEvent extends Event
Constructor and Description |
---|
KeyEvent(KeyEvent source)
Called by the game to create a new KeyEvent.
|
Modifier and Type | Method and Description |
---|---|
KeyEvent |
getSourceEvent()
Do not call this method!
|
compareTo, getPriority, getTime, setPriority, setTime
public KeyEvent(KeyEvent source)
source
- the source key event originating from the AWT.public KeyEvent getSourceEvent()
This method is used by the game to determine the type of the source key event that occurred in the AWT.
Copyright © 2021 Robocode. All Rights Reserved.