8 #include "GDCore/Project/InitialInstancesContainer.h"
9 #include "GDCore/Project/LayersContainer.h"
10 #include "GDCore/Project/ObjectsContainer.h"
11 #include "GDCore/String.h"
15 class SerializerElement;
86 return initialInstances;
93 return initialInstances;
184 assetStoreAssetId = assetStoreId_;
194 assetStoreOriginalName = assetStoreOriginalName_;
200 return assetStoreOriginalName;
Represents a variation of style of an events-based object.
Definition: EventsBasedObjectVariant.h:25
const gd::String & GetName() const
Get the name of the variant.
Definition: EventsBasedObjectVariant.h:41
EventsBasedObjectVariant & SetName(const gd::String &name_)
Set the name of the variant.
Definition: EventsBasedObjectVariant.h:46
gd::InitialInstancesContainer & GetInitialInstances()
Get the instances of the variant.
Definition: EventsBasedObjectVariant.h:85
gd::LayersContainer & GetLayers()
Get the layers of the variant.
Definition: EventsBasedObjectVariant.h:62
int GetAreaMaxX() const
Get the right bound of the variant.
Definition: EventsBasedObjectVariant.h:145
const gd::String & GetAssetStoreAssetId() const
Return the object asset store id of this variant.
Definition: EventsBasedObjectVariant.h:189
int GetAreaMinY() const
Get the top bound of the variant.
Definition: EventsBasedObjectVariant.h:117
void SetAreaMaxX(int areaMaxX_)
Set the right bound of the variant.
Definition: EventsBasedObjectVariant.h:150
const gd::ObjectsContainer & GetObjects() const
Get the objects of the variant.
Definition: EventsBasedObjectVariant.h:76
EventsBasedObjectVariant * Clone() const
Return a pointer to a new EventsBasedObjectVariant constructed from this one.
Definition: EventsBasedObjectVariant.h:34
void SetAreaMinZ(int areaMinZ_)
Set the min Z bound of the variant.
Definition: EventsBasedObjectVariant.h:136
void SetAreaMinY(int areaMinY_)
Set the top bound of the variant.
Definition: EventsBasedObjectVariant.h:122
void SetAreaMaxY(int areaMaxY_)
Set the bottom bound of the variant.
Definition: EventsBasedObjectVariant.h:164
void SetAssetStoreAssetId(const gd::String &assetStoreId_)
Change the object asset store id of this variant.
Definition: EventsBasedObjectVariant.h:183
void SetAreaMaxZ(int areaMaxZ_)
Set the bottom bound of the variant.
Definition: EventsBasedObjectVariant.h:178
const gd::InitialInstancesContainer & GetInitialInstances() const
Get the instances of the variant.
Definition: EventsBasedObjectVariant.h:92
gd::ObjectsContainer & GetObjects()
Get the objects of the variant.
Definition: EventsBasedObjectVariant.h:71
const gd::String & GetAssetStoreOriginalName() const
Return the original name of the variant in the asset.
Definition: EventsBasedObjectVariant.h:199
void SetAreaMinX(int areaMinX_)
Set the left bound of the variant.
Definition: EventsBasedObjectVariant.h:108
void SetAssetStoreOriginalName(const gd::String &assetStoreOriginalName_)
Change the original name of the variant in the asset.
Definition: EventsBasedObjectVariant.h:193
const gd::LayersContainer & GetLayers() const
Get the layers of the variant.
Definition: EventsBasedObjectVariant.h:57
int GetAreaMaxZ() const
Get the max Z bound of the variant.
Definition: EventsBasedObjectVariant.h:173
int GetAreaMaxY() const
Get the bottom bound of the variant.
Definition: EventsBasedObjectVariant.h:159
int GetAreaMinZ() const
Get the min Z bound of the variant.
Definition: EventsBasedObjectVariant.h:131
int GetAreaMinX() const
Get the left bound of the variant.
Definition: EventsBasedObjectVariant.h:103
Defines a container of gd::InitialInstances.
Definition: InitialInstancesContainer.h:38
Contains the layers for a scene or a custom object.
Definition: LayersContainer.h:21
Used as a base class for classes that will own objects (see gd::Object).
Definition: ObjectsContainer.h:37
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:50
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