GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
BehaviorsSharedData.h
1 /*
2  * GDevelop Core
3  * Copyright 2008-2016 Florian Rival ([email protected]). All rights
4  * reserved. This project is released under the MIT License.
5  */
6 
7 #ifndef GDCORE_BEHAVIORSSHAREDDATA_H
8 #define GDCORE_BEHAVIORSSHAREDDATA_H
9 
10 #include "GDCore/String.h"
11 #include "GDCore/Project/BehaviorConfigurationContainer.h"
12 
13 namespace gd {
14 
25  public:
27  BehaviorsSharedData(const gd::String& name_, const gd::String& type_)
28  : BehaviorConfigurationContainer(name_, type_) {};
29  virtual ~BehaviorsSharedData();
30  virtual BehaviorsSharedData* Clone() const override { return new BehaviorsSharedData(*this); }
31 };
32 
33 } // namespace gd
34 
35 #endif // GDCORE_BEHAVIORSSHAREDDATA_H
Base class for containers of behavior configuration. They can be attached to objects (Behavior) or la...
Definition: BehaviorConfigurationContainer.h:35
Base class for defining data shared by behaviors having the same type and name.
Definition: BehaviorsSharedData.h:24
String represents an UTF8 encoded string.
Definition: String.h:33
Definition: CommonTools.h:24