Delegate UIEvent
Delegate for handling UI events.
Assembly: Genesis.dll
Syntax
public delegate void UIEvent(Widget entity, Game game, Scene scene, Canvas canvas)
Parameters
Type |
Name |
Description |
Widget |
entity |
The widget triggering the event.
|
Game |
game |
The game instance.
|
Scene |
scene |
The current scene.
|
Canvas |
canvas |
The canvas used for rendering.
|
Constructors
UIEvent(object, IntPtr)
Declaration
public UIEvent(object @object, IntPtr method)
Parameters
Methods
Declaration
public virtual IAsyncResult BeginInvoke(Widget entity, Game game, Scene scene, Canvas canvas, AsyncCallback callback, object @object)
Parameters
Returns
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Declaration
public virtual void Invoke(Widget entity, Game game, Scene scene, Canvas canvas)
Parameters