Package robocode
Class KeyEvent
- java.lang.Object
-
- robocode.Event
-
- robocode.KeyEvent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Event>
- Direct Known Subclasses:
KeyPressedEvent
,KeyReleasedEvent
,KeyTypedEvent
public abstract class KeyEvent extends Event
Super class of all events that originates from the keyboard.- Since:
- 1.6.1
- Author:
- Pavel Savara (original), Flemming N. Larsen (contributor)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyEvent(java.awt.event.KeyEvent source)
Called by the game to create a new KeyEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.event.KeyEvent
getSourceEvent()
Do not call this method!-
Methods inherited from class robocode.Event
compareTo, getPriority, getTime, setPriority, setTime
-
-