9 #include "GDCore/Project/NamedPropertyDescriptor.h" 
   10 #include "GDCore/Project/PropertiesContainer.h" 
   11 #include "GDCore/Project/EventsFunctionsContainer.h" 
   12 #include "GDCore/String.h" 
   14 class SerializerElement;
 
   33       gd::EventsFunctionsContainer::FunctionOwner functionContainerSource);
 
   53     isPrivate = isPrivate_;
 
   67     description = description_;
 
  101     return eventsFunctionsContainer;
 
  109     return eventsFunctionsContainer;
 
  116     return propertyDescriptors;
 
  123     return propertyDescriptors;
 
  168   bool isPrivate = 
false;
 
Represents a behavior or an object that is implemented with events.
Definition: AbstractEventsBasedEntity.h:29
 
static gd::String GetPropertyToggleActionName(const gd::String &propertyName)
Get the name of the action to toggle a boolean property.
Definition: AbstractEventsBasedEntity.h:144
 
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
 
static gd::String GetPropertyExpressionName(const gd::String &propertyName)
Get the name of the expression to get a property.
Definition: AbstractEventsBasedEntity.h:139
 
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
 
const gd::PropertiesContainer & GetPropertyDescriptors() const
Return a const reference to the list of the properties.
Definition: AbstractEventsBasedEntity.h:122
 
static gd::String GetPropertyActionName(const gd::String &propertyName)
Get the name of the action to change a property.
Definition: AbstractEventsBasedEntity.h:129
 
static gd::String GetPropertyConditionName(const gd::String &propertyName)
Get the name of the condition to compare a property.
Definition: AbstractEventsBasedEntity.h:134
 
gd::PropertiesContainer & GetPropertyDescriptors()
Return a reference to the list of the properties.
Definition: AbstractEventsBasedEntity.h:115
 
AbstractEventsBasedEntity * Clone() const
Return a pointer to a new AbstractEventsBasedEntity constructed from this one.
Definition: AbstractEventsBasedEntity.h:40
 
const gd::String & GetFullName() const
Get the name of the behavior or object, that is displayed in the editor.
Definition: AbstractEventsBasedEntity.h:87
 
const EventsFunctionsContainer & GetEventsFunctions() const
Return a const reference to the functions of the events based behavior or object.
Definition: AbstractEventsBasedEntity.h:108
 
bool IsPrivate() const
Check if the behavior or object is private - it can't be used outside of its extension.
Definition: AbstractEventsBasedEntity.h:46
 
AbstractEventsBasedEntity & SetName(const gd::String &name_)
Set the internal name of the behavior or object.
Definition: AbstractEventsBasedEntity.h:79
 
EventsFunctionsContainer & GetEventsFunctions()
Return a reference to the functions of the events based behavior or object.
Definition: AbstractEventsBasedEntity.h:100
 
const gd::String & GetDescription() const
Get the description of the behavior or object, that is displayed in the editor.
Definition: AbstractEventsBasedEntity.h:61
 
AbstractEventsBasedEntity & SetFullName(const gd::String &fullName_)
Set the name of the behavior or object, to be displayed in the editor.
Definition: AbstractEventsBasedEntity.h:92
 
const gd::String & GetName() const
Get the internal name of the behavior or object.
Definition: AbstractEventsBasedEntity.h:74
 
Used as a base class for classes that will own events-backed functions.
Definition: EventsFunctionsContainer.h:27
 
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
 
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