MochiEngine
Loading...
Searching...
No Matches
Mochi::Graphics::DummyAnimationFactory Class Reference
Inheritance diagram for Mochi::Graphics::DummyAnimationFactory:
Mochi::Graphics::IAnimationFactory

Public Member Functions

virtual std::shared_ptr< AnimationsDataGetAnimationsData (const std::string &animationDataPath) override
 Gets the processed animation data of the file on the input path.
virtual void DeleteCache () override
 Deletes the animations cache. This should be safe to call anytime because of the shared pointers.
virtual void DeleteAnimation (const std::string &texturePath) override
 Deletes a specific animation in the cache. This should be safe to call anytime because of the shared pointers.

Member Function Documentation

◆ DeleteAnimation()

virtual void Mochi::Graphics::DummyAnimationFactory::DeleteAnimation ( const std::string & texturePath)
inlineoverridevirtual

Deletes a specific animation in the cache. This should be safe to call anytime because of the shared pointers.

Parameters
texturePathPath or unique identifier of the file in the file system.

Implements Mochi::Graphics::IAnimationFactory.

◆ DeleteCache()

virtual void Mochi::Graphics::DummyAnimationFactory::DeleteCache ( )
inlineoverridevirtual

Deletes the animations cache. This should be safe to call anytime because of the shared pointers.

Implements Mochi::Graphics::IAnimationFactory.

◆ GetAnimationsData()

virtual std::shared_ptr< AnimationsData > Mochi::Graphics::DummyAnimationFactory::GetAnimationsData ( const std::string & animationDataPath)
inlineoverridevirtual

Gets the processed animation data of the file on the input path.

Parameters
animationDataPathPath or unique identifier of the file containing the animation data in the file system.
Returns
A shared pointer to the data. This is meant to be saved as a cache.

Implements Mochi::Graphics::IAnimationFactory.


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