Gorgon Game Engine
IMaskedObjectProvider Class Referenceabstract

For ease of use in resource system. More...

Inheritance diagram for IMaskedObjectProvider:
[legend]

Public Member Functions

virtual RectangularAnimationCreateBase () const =0
 
virtual RectangularAnimationCreateMask () const =0
 
virtual IMaskedObjectProviderMoveOutProvider () override=0
 This function moves this animation provider into a new provider. More...
 
- Public Member Functions inherited from RectangularAnimationProvider
virtual RectangularAnimationCreateAnimation (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 RectangularAnimationCreateAnimation (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...
 
int GetHeight () const
 
virtual Geometry::Size GetSize () const =0
 
int GetWidth () const
 
- Public Member Functions inherited from AnimationProvider
virtual ~AnimationProvider ()
 
- Public Member Functions inherited from Provider
virtual ~Provider ()
 Virtual destructor. More...
 

Additional Inherited Members

- Public Types inherited from RectangularAnimationProvider
using AnimationType = RectangularAnimation
 
- Public Types inherited from AnimationProvider
using AnimationType = Animation
 
- Public Types inherited from Provider
using AnimationType = Base
 

Detailed Description

For ease of use in resource system.

Member Function Documentation

◆ CreateBase()

virtual RectangularAnimation& CreateBase ( ) const
pure virtual

Implemented in MaskedObject.

◆ CreateMask()

virtual RectangularAnimation& CreateMask ( ) const
pure virtual

Implemented in MaskedObject.

◆ MoveOutProvider()

virtual IMaskedObjectProvider& MoveOutProvider ( )
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.

Implements RectangularAnimationProvider.

Implemented in MaskedObject.


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