GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members

Store the content (i.e: the properties) of a behavior of an object. More...

#include <BehaviorContent.h>

Public Member Functions

 BehaviorContent (const gd::String &name_, const gd::String &type_)
 
virtual BehaviorContentClone () const
 
virtual const gd::StringGetName () const
 Return the name identifying the behavior.
 
virtual void SetName (const gd::String &name_)
 Change the name identifying the behavior.
 
virtual const gd::StringGetTypeName () const
 Get the type of the behavior.
 
virtual void SetTypeName (const gd::String &type_)
 Change the type of the behavior.
 
virtual void SerializeTo (gd::SerializerElement &element) const
 Serialize the behavior content.
 
virtual void UnserializeFrom (const gd::SerializerElement &element)
 Unserialize the behavior content.
 
const gd::SerializerElementGetContent () const
 
gd::SerializerElementGetContent ()
 

Protected Attributes

gd::String name
 Name of the behavior.
 
gd::String type
 
gd::SerializerElement content
 

Detailed Description

Store the content (i.e: the properties) of a behavior of an object.

See also
gd::Behavior
gd::BehaviorsSharedData
gd::Object

Member Data Documentation

gd::String gd::BehaviorContent::type
protected

The type of the behavior that is represented. Usually in the form "ExtensionName::BehaviorTypeName"


The documentation for this class was generated from the following files: