Package robocode

Class MouseEvent

    • Constructor Summary

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

      • MouseEvent

        public MouseEvent​(java.awt.event.MouseEvent source)
        Called by the game to create a new MouseEvent.
        Parameters:
        source - the source mouse event originating from the AWT.
    • Method Detail

      • getSourceEvent

        public java.awt.event.MouseEvent getSourceEvent()
        Do not call this method!

        This method is used by the game to determine the type of the source mouse event that occurred in the AWT.

        Returns:
        the source mouse event that originates from the AWT.