9 #include "GDCore/Extensions/Builtin/SpriteExtension/SpriteAnimationList.h"
10 #include "GDCore/Project/Object.h"
13 class InitialInstance;
16 class SerializerElement;
17 class PropertyDescriptor;
40 std::unique_ptr<gd::ObjectConfiguration>
Clone()
const override {
41 return gd::make_unique<SpriteObject>(*
this);
46 std::map<gd::String, gd::PropertyDescriptor> GetProperties()
const override;
49 std::map<gd::String, gd::PropertyDescriptor> GetInitialInstanceProperties(
74 updateIfNotVisible = updateIfNotVisible_;
90 bool updateIfNotVisible;
ArbitraryResourceWorker is used so as to inventory resources and sometimes update them.
Definition: ArbitraryResourceWorker.h:44
Represents an instance of an object to be created on a layout start up.
Definition: InitialInstance.h:25
Represent a layout ( also called a scene ) of a project.
Definition: Layout.h:39
Base class used to represent an object configuration. For example, this can be the animations in a sp...
Definition: ObjectConfiguration.h:38
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
A list of animations, containing directions with images and collision mask.
Definition: SpriteAnimationList.h:30
Standard sprite object for extensions that implements the standard SpriteExtension (see gd::BuiltinEx...
Definition: SpriteObject.h:36
bool GetUpdateIfNotVisible() const
Check if the object animation should be played even if the object is hidden or far from the camera (f...
Definition: SpriteObject.h:81
std::unique_ptr< gd::ObjectConfiguration > Clone() const override
Definition: SpriteObject.h:40
void SetUpdateIfNotVisible(bool updateIfNotVisible_)
Set if the object animation should be played even if the object is hidden or far from the camera.
Definition: SpriteObject.h:73
String represents an UTF8 encoded string.
Definition: String.h:31
Definition: CommonTools.h:24