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