Gorgon Game Engine
Provider Class Referenceabstract

This interface marks a class as animation provider. More...

Inheritance diagram for Provider:
[legend]

Public Types

using AnimationType = Base
 

Public Member Functions

virtual ~Provider ()
 Virtual destructor. More...
 
virtual BaseCreateAnimation (bool create=true) const =0
 This function should create an animation and depending on the create parameter, it should create a timer for it. More...
 
virtual BaseCreateAnimation (ControllerBase &timer) const =0
 This function should create a new animation with the given controller. More...
 
virtual ProviderMoveOutProvider ()=0
 This function moves this animation provider into a new provider. More...
 

Detailed Description

This interface marks a class as animation provider.

Member Typedef Documentation

◆ AnimationType

Constructor & Destructor Documentation

◆ ~Provider()

virtual ~Provider ( )
virtual

Virtual destructor.

Member Function Documentation

◆ CreateAnimation() [1/2]

virtual Base& CreateAnimation ( bool  create = true) const
pure virtual

This function should create an animation and depending on the create parameter, it should create a timer for it.

Timer creation is handled by Base class therefore only passing this parameter to the constructor is enough.

Implemented in BlankImage, Bitmap, ImageProvider, DiscreteAnimationProvider, RectangularAnimationProvider, AnimationProvider, TintedObject, StackedObject, ScalableObject, Rectangle, MaskedObject, Line, basic_RectangleProvider< A_ >, basic_LineProvider< A_ >, EmptyImage, basic_StorageInjection< Graphics::DiscreteAnimationProvider >, and basic_Storage< A_ >.

◆ CreateAnimation() [2/2]

◆ MoveOutProvider()


The documentation for this class was generated from the following file: