GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Static Public Member Functions | List of all members
gd::EventsFunctionTools Class Reference

#include <EventsFunctionTools.h>

Static Public Member Functions

static void FreeEventsFunctionToObjectsContainer (const gd::Project &project, const gd::EventsFunctionsContainer &functionContainer, const gd::EventsFunction &eventsFunction, gd::ObjectsContainer &outputObjectsContainer)
 Given a free events function, initialize the given objects container with objects described in the events function parameters and in the events function groups. More...
 
static void BehaviorEventsFunctionToObjectsContainer (const gd::Project &project, const gd::EventsBasedBehavior &eventsBasedBehavior, const gd::EventsFunction &eventsFunction, gd::ObjectsContainer &outputObjectsContainer)
 Given a behavior events function, initialize the given objects container with objects described in the events function parameters, in the events function groups and in the behavior properties (for additional required behaviors on the object). More...
 
static void ObjectEventsFunctionToObjectsContainer (const gd::Project &project, const gd::EventsBasedObject &eventsBasedObject, const gd::EventsFunction &eventsFunction, gd::ObjectsContainer &outputObjectsContainer)
 Given a parent-object events function, initialize the given objects container with objects described in the events function parameters, in the events function groups and in the parent-object properties for child-objects. More...
 

Detailed Description

Contains tools to use events functions.

Member Function Documentation

◆ BehaviorEventsFunctionToObjectsContainer()

void gd::EventsFunctionTools::BehaviorEventsFunctionToObjectsContainer ( const gd::Project project,
const gd::EventsBasedBehavior eventsBasedBehavior,
const gd::EventsFunction eventsFunction,
gd::ObjectsContainer outputObjectsContainer 
)
static

Given a behavior events function, initialize the given objects container with objects described in the events function parameters, in the events function groups and in the behavior properties (for additional required behaviors on the object).

This is useful to create the "context" of a function, before code generation for example.

◆ FreeEventsFunctionToObjectsContainer()

void gd::EventsFunctionTools::FreeEventsFunctionToObjectsContainer ( const gd::Project project,
const gd::EventsFunctionsContainer functionContainer,
const gd::EventsFunction eventsFunction,
gd::ObjectsContainer outputObjectsContainer 
)
static

Given a free events function, initialize the given objects container with objects described in the events function parameters and in the events function groups.

This is useful to create the "context" of a function, before code generation for example.

◆ ObjectEventsFunctionToObjectsContainer()

void gd::EventsFunctionTools::ObjectEventsFunctionToObjectsContainer ( const gd::Project project,
const gd::EventsBasedObject eventsBasedObject,
const gd::EventsFunction eventsFunction,
gd::ObjectsContainer outputObjectsContainer 
)
static

Given a parent-object events function, initialize the given objects container with objects described in the events function parameters, in the events function groups and in the parent-object properties for child-objects.

This is useful to create the "context" of a function, before code generation for example.


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