![]() |
Gorgon Game Engine
|
A regular drawable animation. More...
Additional Inherited Members | |
![]() | |
virtual | ~Drawable () |
void | Draw (TextureTarget &target, const Geometry::Point &p, RGBAf color=RGBAf(1.f)) const |
Draw to the given coordinates. More... | |
void | Draw (TextureTarget &target, const Geometry::Pointf &p, RGBAf color=RGBAf(1.f)) const |
Draw to the given coordinates. More... | |
void | Draw (TextureTarget &target, float x, float y, RGBAf color=RGBAf(1.f)) const |
Draw to the given coordinates. More... | |
void | Draw (TextureTarget &target, int x, int y, RGBAf color=RGBAf(1.f)) const |
Draw to the given coordinates. More... | |
![]() | |
Base (bool create=false) | |
This constructor creates a new controller depending on the create parameter. More... | |
Base (const Base &base) | |
Copies the animation. More... | |
Base (ControllerBase &controller) | |
Sets the controller for this animation to the given controller. More... | |
virtual void | DeleteAnimation () const |
Deletes this animation. More... | |
virtual ControllerBase & | GetController () const |
Returns the controller of this animation. More... | |
virtual int | GetDuration () const =0 |
Returns the duration of the animation if it is a known apriori. More... | |
virtual bool | HasController () const |
Returns whether this animation has a controller. More... | |
virtual bool | Progress (unsigned &leftover)=0 |
This function should progress the animation. More... | |
virtual void | RemoveController () |
Removes the controller of this animation. More... | |
virtual void | SetController (ControllerBase &controller) |
Sets the controller to the given controller. More... | |
![]() | |
virtual void | draw (TextureTarget &target, const Geometry::Pointf &p, RGBAf color) const =0 |
This is the only function that needs to implemented for a drawable. More... | |
![]() | |
virtual | ~Base () |
Virtual destructor. More... | |
![]() | |
ControllerBase * | controller |
Controller of this animation. More... | |
A regular drawable animation.