8 #include "GDCore/String.h"
9 #include "GDCore/Project/BehaviorConfigurationContainer.h"
10 #include "GDCore/Tools/MakeUnique.h"
29 isDefaultBehavior(
false) {};
31 virtual std::unique_ptr<gd::Behavior> Clone()
const {
32 return gd::make_unique<gd::Behavior>(*
this);
36 return isDefaultBehavior;
39 void SetDefaultBehavior(
bool isDefaultBehavior_) {
40 isDefaultBehavior = isDefaultBehavior_;
44 bool isDefaultBehavior;
Base class for containers of behavior configuration. They can be attached to objects (Behavior) or la...
Definition: BehaviorConfigurationContainer.h:35
Base class used to represents a behavior that can be applied to an object. It stores the content (i....
Definition: Behavior.h:23
String represents an UTF8 encoded string.
Definition: String.h:33
Definition: CommonTools.h:24
bool GD_CORE_API IsDefaultBehavior(const gd::ObjectsContainer &project, const gd::ObjectsContainer &layout, gd::String objectOrGroupName, gd::String behaviorName, bool searchInGroups)
Check if a behavior is a default one or doesn't exist in an object or all objects of a group.
Definition: Layout.cpp:638