|
stmm-games-doc
0.32.0
|
Base class for ThemeAnimation factories. More...

Public Member Functions | |
| virtual | ~StdThemeAnimationFactory () noexcept=default |
| StdThemeAnimationFactory (StdTheme *p1Owner) noexcept | |
| Constructor. More... | |
| virtual bool | supports (const shared_ptr< LevelAnimation > &refLevelAnimation) noexcept=0 |
| Tells whether the factory supports the model animation. More... | |
| virtual shared_ptr< ThemeAnimation > | create (const shared_ptr< StdThemeContext > &refThemeContext, const shared_ptr< LevelAnimation > &refLevelAnimation) noexcept=0 |
| Creates a theme animation for a level animation. More... | |
| virtual void | clearOwner () noexcept |
| Clears the owner passed in the constructor. More... | |
Protected Member Functions | |
| StdTheme * | owner () noexcept |
| The owner. More... | |
| const StdTheme * | owner () const noexcept |
| The owner. More... | |
Base class for ThemeAnimation factories.
|
virtualdefaultnoexcept |
|
explicitnoexcept |
Constructor.
| p1Owner | The owner theme. Cannot be null. |
|
virtualnoexcept |
Clears the owner passed in the constructor.
Makes the instance unusable.
|
pure virtualnoexcept |
Creates a theme animation for a level animation.
The creation may fail even if supports() returns true.
| refThemeContext | The theme context. Cannot be null. |
| refLevelAnimation | The model. Cannot be null. |
Implemented in stmg::PlainTextThAniFactory, stmg::BackgroundThAniFactory, stmg::StaticGridThAniFactory, stmg::ImageSequenceThAniFactory, and stmg::ExplosionThAniFactory.
|
inlineprotectednoexcept |
The owner.
|
inlineprotectednoexcept |
The owner.
|
pure virtualnoexcept |
Tells whether the factory supports the model animation.
Tells whether the class of the model (not the actual model instance) is supported.
| refLevelAnimation | The level animation (the model). Cannot be null. |
Implemented in stmg::PlainTextThAniFactory, stmg::BackgroundThAniFactory, stmg::StaticGridThAniFactory, stmg::ImageSequenceThAniFactory, and stmg::ExplosionThAniFactory.
1.8.13