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

Scans an event list to retrieve the position of a list of searched events when the events list is flattened. More...

#include <EventsPositionFinder.h>

Inherits gd::ArbitraryEventsWorker.

Public Member Functions

const std::vector< std::size_t > & GetPositions () const
 
void AddEventToSearch (gd::BaseEvent *event)
 
- Public Member Functions inherited from gd::ArbitraryEventsWorker
void Launch (gd::EventsList &events)
 Launch the worker on the specified events list.
 

Detailed Description

Scans an event list to retrieve the position of a list of searched events when the events list is flattened.

Member Function Documentation

◆ AddEventToSearch()

void gd::EventsPositionFinder::AddEventToSearch ( gd::BaseEvent event)
inline

Add an event for which the position must be reported in GetPositions.

◆ GetPositions()

const std::vector<std::size_t>& gd::EventsPositionFinder::GetPositions ( ) const
inline

Return the positions of all searched events


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