Crazy Eddie's GUI System
0.8.7
|
29 #ifndef _CEGUIAnimation_h_
30 #define _CEGUIAnimation_h_
32 #include "CEGUI/String.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
154 const String& interpolator);
287 CEGUI_VECTOR_ALLOC(
Affector*)> AffectorList;
289 AffectorList d_affectors;
291 typedef std::multimap<String, String, std::less<String>
297 SubscriptionMap d_autoSubscriptions;
302 #if defined(_MSC_VER)
303 # pragma warning(pop)
306 #endif // end of guard _CEGUIAnimation_h_
bool getAutoStart() const
Retrieves auto start.
void setDuration(float duration)
Sets the duration of this animation.
@ RM_Once
plays the animation just once, then stops
Definition: Animation.h:71
Defines an 'animation instance' class.
Definition: AnimationInstance.h:75
float getDuration() const
Retrieves the duration of this animation.
void savePropertyValues(AnimationInstance *instance)
Internal method, causes all properties that are used by this animation and it's affectors to be saved...
void setAutoStart(bool autoStart)
Sets whether this animation auto starts or not.
void autoSubscribe(AnimationInstance *instance)
Subscribes all auto subscriptions with information from given animation instance.
Class used to create XML Document.
Definition: XMLSerializer.h:87
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
size_t getNumAffectors(void) const
Retrieves number of Affectors defined in this Animation.
void autoUnsubscribe(AnimationInstance *instance)
Unsubscribes all auto subscriptions with information from given animation instance.
Definition: MemoryAllocatedObject.h:110
ReplayMode
enumerates possible replay modes
Definition: Animation.h:69
Animation(const String &name)
void undefineAutoSubscription(const String &eventName, const String &action)
This undefines previously defined auto subscription.
void writeXMLToStream(XMLSerializer &xml_stream, const String &name_override="") const
Writes an xml representation of this Animation definition to out_stream.
Defines an 'affector' class.
Definition: Affector.h:56
@ RM_Loop
loops the animation infinitely
Definition: Animation.h:73
void defineAutoSubscription(const String &eventName, const String &action)
This defined a new auto subscription.
void apply(AnimationInstance *instance)
Applies this Animation definition using information from given AnimationInstance.
Affector * createAffector(const String &targetProperty, const String &interpolator)
Creates a new Affector.
Affector * createAffector(void)
Creates a new Affector.
void setReplayMode(ReplayMode mode)
Sets the replay mode of this animation.
Affector * getAffectorAtIdx(size_t index) const
Retrieves the Affector at given index.
ReplayMode getReplayMode() const
Retrieves the replay mode of this animation.
const String & getName() const
Retrieves name of this Animation definition.
~Animation(void)
destructor, this destroys all affectors defined inside this animation
String class used within the GUI system.
Definition: String.h:64
void undefineAllAutoSubscriptions()
This undefines all previously defined auto subscriptions.
Defines an 'animation' class.
Definition: Animation.h:65
void destroyAffector(Affector *affector)
Destroys given Affector.