6 #ifndef GDCORE_CUSTOMBEHAVIOR_H
7 #define GDCORE_CUSTOMBEHAVIOR_H
9 #include "GDCore/Project/Behavior.h"
10 #include "GDCore/Project/EventsBasedBehavior.h"
11 #include "GDCore/Project/Project.h"
12 #include "GDCore/Project/PropertyDescriptor.h"
13 #include "GDCore/Serialization/Serializer.h"
14 #include "GDCore/Serialization/SerializerElement.h"
36 std::map<gd::String, gd::PropertyDescriptor>
bool UpdateProperty(const gd::String &name, const gd::String &value)
Called when the IDE wants to update a custom property of the behavior.
Definition: BehaviorConfigurationContainer.h:89
virtual void InitializeContent()
Called to initialize the content with the default properties for the behavior.
Definition: BehaviorConfigurationContainer.h:97
std::map< gd::String, gd::PropertyDescriptor > GetProperties() const
Called when the IDE wants to know about the custom properties of the behavior.
Definition: BehaviorConfigurationContainer.cpp:16
Base class used to represents a behavior that can be applied to an object. It stores the content (i....
Definition: Behavior.h:23
A gd::Behavior that stores its content in JSON.
Definition: CustomBehavior.h:22
bool UpdateProperty(gd::SerializerElement &behaviorContent, const gd::String &name, const gd::String &value) override
Called when the IDE wants to update a custom property of the behavior.
Definition: CustomBehavior.cpp:47
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:51
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