MouseEnteredEvent MembersRobocode Robot API for .NET

The MouseEnteredEvent type exposes the following members.
Constructors

  NameDescription
Public methodMouseEnteredEvent
Called by the game to create a new MouseDraggedEvent.
Back to Top
Methods

  NameDescription
Public methodCompareTo
Compares this event to another event regarding precedence.

The event precedence is first and foremost determined by the event time, secondly the event priority, and lastly specific event information.

This method will first compare the time of each event. If the event time is the same for both events, then this method compared the priority of each event. If the event priorities are equals, then this method will compare the two events based on specific event information.

This method is called by the game in order to sort the event queue of a robot to make sure the events are listed in chronological order.

(Inherited from Event.)
Back to Top
Properties

  NameDescription
Public propertyButton
Number of the button
(Inherited from MouseEvent.)
Public propertyClickCount
Click count
(Inherited from MouseEvent.)
Public propertyPriority
The priority of this event.

An event priority is a value from 0 - 99. The higher value, the higher priority.

The default priority is 80, but varies depending on the type of event.

(Inherited from Event.)
Public propertyTime
The time when this event occurred.
(Inherited from Event.)
Public propertyWhen
Age of the event
(Inherited from MouseEvent.)
Public propertyX
Cursor coordinates
(Inherited from MouseEvent.)
Public propertyY
Cursor coordinates
(Inherited from MouseEvent.)
Back to Top
See Also