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

Generate a getter and a setter functions for properties. More...

#include <PropertyFunctionGenerator.h>

Static Public Member Functions

static void GenerateBehaviorGetterAndSetter (gd::Project &project, gd::EventsFunctionsExtension &extension, gd::EventsBasedBehavior &eventsBasedBehavior, const gd::NamedPropertyDescriptor &property, bool isSharedProperties)
 Generate a getter and a setter for the given behavior property.
 
static void GenerateObjectGetterAndSetter (gd::Project &project, gd::EventsFunctionsExtension &extension, gd::EventsBasedObject &eventsBasedObject, const gd::NamedPropertyDescriptor &property)
 Generate a getter and a setter for the given object property.
 
static bool CanGenerateGetterAndSetter (const gd::AbstractEventsBasedEntity &eventsBasedEntity, const gd::NamedPropertyDescriptor &property)
 
static void GenerateConditionSkeleton (gd::Project &project, gd::EventsFunction &eventFunction)
 Generate an event with a "return" action.
 

Detailed Description

Generate a getter and a setter functions for properties.


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