9 #include "GDCore/Project/AbstractEventsBasedEntity.h"
10 #include "GDCore/Project/NamedPropertyDescriptor.h"
11 #include "GDCore/Project/PropertiesContainer.h"
12 #include "GDCore/Project/EventsFunctionsContainer.h"
13 #include "GDCore/Project/QuickCustomization.h"
14 #include "GDCore/String.h"
16 class SerializerElement;
72 objectType = objectType_;
86 return quickCustomizationVisibility;
90 quickCustomizationVisibility = visibility;
98 return sharedPropertyDescriptors;
106 return sharedPropertyDescriptors;
113 return "SetSharedProperty" + propertyName;
120 return "SharedProperty" + propertyName;
128 return "SharedProperty" + propertyName;
135 return "ToggleSharedProperty" + propertyName;
Represents a behavior or an object that is implemented with events.
Definition: AbstractEventsBasedEntity.h:29
AbstractEventsBasedEntity & SetPrivate(bool isPrivate_)
Set that the behavior or object is private - it can't be used outside of its extension.
Definition: AbstractEventsBasedEntity.h:52
virtual AbstractEventsBasedEntity & SetDescription(const gd::String &description_)
Set the description of the behavior or object, to be displayed in the editor.
Definition: AbstractEventsBasedEntity.h:66
AbstractEventsBasedEntity & SetName(const gd::String &name_)
Set the internal name of the behavior or object.
Definition: AbstractEventsBasedEntity.h:79
AbstractEventsBasedEntity & SetFullName(const gd::String &fullName_)
Set the name of the behavior or object, to be displayed in the editor.
Definition: AbstractEventsBasedEntity.h:92
Represents a behavior that is implemented with events.
Definition: EventsBasedBehavior.h:31
EventsBasedBehavior * Clone() const
Return a pointer to a new EventsBasedBehavior constructed from this one.
Definition: EventsBasedBehavior.h:40
static gd::String GetSharedPropertyConditionName(const gd::String &propertyName)
Get the name of the condition to compare a shared property.
Definition: EventsBasedBehavior.h:119
const gd::String & GetObjectType() const
Get the object type the behavior should be used with.
Definition: EventsBasedBehavior.h:66
static gd::String GetSharedPropertyExpressionName(const gd::String &propertyName)
Get the name of the expression to get a shared property.
Definition: EventsBasedBehavior.h:127
static gd::String GetSharedPropertyActionName(const gd::String &propertyName)
Get the name of the action to change a shared property.
Definition: EventsBasedBehavior.h:112
EventsBasedBehavior & SetName(const gd::String &name_)
Set the internal name of the behavior.
Definition: EventsBasedBehavior.h:50
const gd::PropertiesContainer & GetSharedPropertyDescriptors() const
Return a const reference to the list of shared properties.
Definition: EventsBasedBehavior.h:104
EventsBasedBehavior & SetFullName(const gd::String &fullName_)
Set the name of the behavior, to be displayed in the editor.
Definition: EventsBasedBehavior.h:58
EventsBasedBehavior & SetPrivate(bool isPrivate)
Set that the behavior or object is private - it can't be used outside of its extension.
Definition: EventsBasedBehavior.h:80
EventsBasedBehavior & SetDescription(const gd::String &description_) override
Set the description of the behavior or object, to be displayed in the editor.
Definition: EventsBasedBehavior.h:42
EventsBasedBehavior & SetObjectType(const gd::String &objectType_)
Set the object type the behavior should be used with.
Definition: EventsBasedBehavior.h:71
static gd::String GetSharedPropertyToggleActionName(const gd::String &propertyName)
Get the name of the action to toggle a boolean shared property.
Definition: EventsBasedBehavior.h:134
gd::PropertiesContainer & GetSharedPropertyDescriptors()
Return a reference to the list of shared properties.
Definition: EventsBasedBehavior.h:97
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:50
A container of properties, used for custom behaviors, custom objects, extensions.....
Definition: PropertiesContainer.h:17
Visibility
Definition: QuickCustomization.h:8
A generic container that can represent a value ( containing a string, double, bool or int),...
Definition: SerializerElement.h:37
String represents an UTF8 encoded string.
Definition: String.h:33
Definition: CommonTools.h:24