Skip to content
Benedict Allen edited this page Nov 15, 2015 · 1 revision

Event Class

The Event class is used to pass events to components in a Screen. It is an abstract class, meaning it is not used directly, but rather through subclasses.

Methods

is()

bool is = Event:is( Event enum event )

Returns whether the event is of the type given. event should be a member of the Event Enum.

handle()

Event:handle( Sheet handler )

Used by a Sheet when it handles the event, so that other Sheets can tell the event has been handled and by what.

Clone this wiki locally