IInteractiveEvents MembersRobocode Robot API for .NET

The IInteractiveEvents type exposes the following members.
Methods

  NameDescription
Public methodOnKeyPressed
This method is called when a key has been pressed.

See the Sample.Interactive robot for an example of how to use key events.
Public methodOnKeyReleased
This method is called when a key has been released.

See the Sample.Interactive robot for an example of how to use key events.
Public methodOnKeyTyped
This method is called when a key has been typed (pressed and released).

See the Sample.Interactive robot for an example of how to use key events.
Public methodOnMouseClicked
This method is called when a mouse button has been clicked (pressed and released).

See the Sample.Interactive robot for an example of how to use mouse events.
Public methodOnMouseDragged
This method is called when a mouse button has been pressed and then dragged.

See the Sample.Interactive robot for an example of how to use mouse events.
Public methodOnMouseEntered
This method is called when the mouse has entered the battle view.

See the Sample.Interactive robot for an example of how to use mouse events.
Public methodOnMouseExited
This method is called when the mouse has exited the battle view.

See the Sample.Interactive robot for an example of how to use mouse events.
Public methodOnMouseMoved
This method is called when the mouse has been moved.

See the Sample.Interactive robot for an example of how to use mouse events.
Public methodOnMousePressed
This method is called when a mouse button has been pressed.

See the Sample.Interactive robot for an example of how to use mouse events.
Public methodOnMouseReleased
This method is called when a mouse button has been released.

See the Sample.Interactive robot for an example of how to use mouse events.
Public methodOnMouseWheelMoved
This method is called when the mouse wheel has been rotated.

See the Sample.Interactive robot for an example of how to use mouse events.
Back to Top
See Also