OmegaEngine API  1.0.3
Public Member Functions | List of all members
OmegaEngine.Input.UpdateReceiver Class Reference

Calls a callback delegate whenever any kind of input is received. More...

Inheritance diagram for OmegaEngine.Input.UpdateReceiver:
OmegaEngine.Input.IInputReceiver

Public Member Functions

 UpdateReceiver (Action update)
 Creates a new update receiver. More...
 
void PerspectiveChange (Point pan, int rotation, int zoom)
 Called when the user changes the view perspective.
 
void Hover (Point target)
 Called when the user is hovering above a point on the screen.
 
void AreaSelection (Rectangle area, bool accumulate, bool done)
 Called when the user is selecting an area on the screen.
 
void Click (MouseEventArgs e, bool accumulate)
 Called when the user clicked something (not dragged!).
 
void DoubleClick (MouseEventArgs e)
 Called when the user double-clicked something.
 

Detailed Description

Calls a callback delegate whenever any kind of input is received.

Constructor & Destructor Documentation

◆ UpdateReceiver()

OmegaEngine.Input.UpdateReceiver.UpdateReceiver ( Action  update)
inline

Creates a new update receiver.

Parameters
updateThe callback delegate to be called when any kind of input is received.

The documentation for this class was generated from the following file: