![]() |
Gorgon Game Engine
|
A regular drawable animation provider. More...
Public Types | |
using | AnimationType = Animation |
![]() | |
using | AnimationType = Base |
Public Member Functions | |
virtual | ~AnimationProvider () |
virtual Animation & | CreateAnimation (bool create=true) const override=0 |
This function should create and animation and depending on the create parameter, it should create its own timer. More... | |
virtual Animation & | CreateAnimation (Gorgon::Animation::ControllerBase &timer) const override=0 |
This function should create a new animation with the given controller and if owner parameter is set to true, it should assume ownership of the controller. More... | |
virtual AnimationProvider & | MoveOutProvider () override=0 |
This function moves this animation provider into a new provider. More... | |
![]() | |
virtual | ~Provider () |
Virtual destructor. More... | |
A regular drawable animation provider.
using AnimationType = Animation |
|
virtual |
|
overridepure virtual |
This function should create and animation and depending on the create parameter, it should create its own timer.
Implements Provider.
Implemented in BlankImage, Bitmap, ImageProvider, DiscreteAnimationProvider, RectangularAnimationProvider, TintedObject, StackedObject, ScalableObject, Rectangle, MaskedObject, Line, basic_RectangleProvider< A_ >, basic_LineProvider< A_ >, EmptyImage, and basic_StorageInjection< Graphics::DiscreteAnimationProvider >.
|
overridepure virtual |
This function should create a new animation with the given controller and if owner parameter is set to true, it should assume ownership of the controller.
Implements Provider.
Implemented in DiscreteAnimationProvider, RectangularAnimationProvider, TintedObject, StackedObject, ScalableObject, Rectangle, MaskedObject, Line, basic_RectangleProvider< A_ >, basic_LineProvider< A_ >, EmptyImage, basic_StorageInjection< Graphics::DiscreteAnimationProvider >, BlankImage, Bitmap, and ImageProvider.
|
overridepure virtual |
This function moves this animation provider into a new provider.
Ownership of this new object belongs to the caller and this object could be destroyed safely using DeleteAnimation.
Implements Provider.
Implemented in ITintedObjectProvider, IStackedObjectProvider, IScalableObjectProvider, IRectangleProvider, IMaskedObjectProvider, ILineProvider, RectangularAnimationProvider, TintedObject, StackedObject, ScalableObject, Rectangle, MaskedObject, Line, EmptyImage, BlankImage, TextureProvider, basic_RectangleProvider< A_ >, basic_LineProvider< A_ >, Bitmap, and basic_StorageInjection< Graphics::DiscreteAnimationProvider >.