GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | List of all members

Visitor of any kind of event. More...

#include <EventVisitor.h>

Inherited by gd::AbstractArbitraryEventsWorker [private].

Public Member Functions

virtual bool VisitEvent (gd::BaseEvent &linkEvent)=0
 
virtual bool VisitLinkEvent (gd::LinkEvent &linkEvent)=0
 

Detailed Description

Visitor of any kind of event.

Member Function Documentation

◆ VisitEvent()

virtual bool gd::EventVisitor::VisitEvent ( gd::BaseEvent linkEvent)
pure virtual

Called to do some work on an event.

Returns
true if the event must be deleted from the events list, false otherwise.

Implemented in gd::AbstractArbitraryEventsWorker.

◆ VisitLinkEvent()

virtual bool gd::EventVisitor::VisitLinkEvent ( gd::LinkEvent linkEvent)
pure virtual

Called to do some work on a link event.

Note that VisitEvent is also called with this event.

Returns
true if the event must be deleted from the events list, false otherwise.

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