10 #include "GDCore/String.h"
11 #include "GDCore/Extensions/Builtin/SpriteExtension/Direction.h"
40 const Direction& GetDirection(std::size_t n)
const;
50 void SetDirection(
const Direction& direction, std::size_t nb);
55 void SetDirectionsCount(std::size_t nb);
60 std::size_t GetDirectionsCount()
const;
65 bool HasNoDirections()
const;
87 std::vector<Direction> directions;
Class representing an animation of a SpriteObject.
Definition: Animation.h:22
void SetName(const gd::String &name_)
Change the name of the animation.
Definition: Animation.h:35
const gd::String & GetName() const
Set the name of the animation.
Definition: Animation.h:30
void SetUseMultipleDirections(bool enable)
Set if the animation is using more than one direction.
Definition: Animation.h:81
bool useMultipleDirections
Definition: Animation.h:83
bool UseMultipleDirections() const
Return true if the animation is composed of more than one direction.
Definition: Animation.h:73
Class defining a direction (set of frames) of an Animation.
Definition: Direction.h:28
String represents an UTF8 encoded string.
Definition: String.h:33
Definition: CommonTools.h:24