Package robocode

Class KeyTypedEvent

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Event>

    public final class KeyTypedEvent
    extends KeyEvent
    A KeyTypedEvent is sent to onKeyTyped() when a key has been typed (pressed and released) on the keyboard.
    Since:
    1.6.1
    Author:
    Pavel Savara (original), Flemming N. Larsen (contributor)
    See Also:
    KeyPressedEvent, KeyReleasedEvent, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyTypedEvent​(java.awt.event.KeyEvent source)
      Called by the game to create a new KeyTypedEvent.
    • Constructor Detail

      • KeyTypedEvent

        public KeyTypedEvent​(java.awt.event.KeyEvent source)
        Called by the game to create a new KeyTypedEvent.
        Parameters:
        source - the source key event originating from the AWT.