Drag[en]gine Script Module DragonScript  1.3
Dragengine.Utils.GlobalEvents.DefaultListener Class Reference

Default implementation of event listener. More...

Inheritance diagram for Dragengine.Utils.GlobalEvents.DefaultListener:

Public Member Functions

DefaultListener new ()
 Create default listener. More...
void onEvent (Object source, Object data)
 Event fired. More...

Detailed Description

Default implementation of event listener.

Member Function Documentation

◆ new()

DefaultListener Dragengine.Utils.GlobalEvents.DefaultListener.new ( )

Create default listener.

◆ onEvent()

void Dragengine.Utils.GlobalEvents.DefaultListener.onEvent ( Object  source,
Object  data 

Event fired.

sourceThe source object sending the event. Can be null if there is no reasonable source object.
dataData send with the event. Can be null if the event requires no additional parameters.

Implements Dragengine.Utils.GlobalEvents.Listener.

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