#include <events.h>
Inheritance diagram for AnimEvent:
Public Member Functions | |
AnimEvent (Object *obj, Uint16 length, Uint16 edelay=0, Uint32 switchstate=NOTHING, Mix_Chunk *asound=NULL, EmptyAnimationPtr runanim=EmptyAnimationPtr()) | |
virtual Uint16 | update (Uint16 dt) |
Updates the events. | |
virtual void | start () |
virtual void | end () |
virtual void | cancel () |
Protected Attributes | |
EmptyAnimationPtr | anim |
Mix_Chunk * | sound |
An animated effect that usually ends when the animation is finnished.
|
|
|
Updates the events.
Reimplemented from Event.
|