Anim 0.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
AnimationSystem::AnimationMainSystem Class Reference
Collaboration diagram for AnimationSystem::AnimationMainSystem:

Public Member Functions

 AnimationMainSystem (AnimationMainSystem const &)=delete
 
void operator= (AnimationMainSystem const &)=delete
 
ValueResult< std::weak_ptr< IAnimatedSprite > > CreateAnimatedSprite (string const &objectNameId, string const &filePath) const
 Create a new animated sprite. More...
 
ValueResult< std::weak_ptr< IAnimatedSprite > > CreateAnimatedSkeleton (string const &objectNameId, string const &filePath) const
 Create a new animated skeleton sprite. More...
 
ValueResult< std::weak_ptr< Mesh::IAnimatedMesh > > CreateAnimatedMesh (string const &objectNameId, string const &filePath) const
 Create a new mesh object. More...
 

Static Public Member Functions

static unique_ptr< AnimationMainSystemCreate (gef::Platform &platform)
 Create a new animation system.
 

Member Function Documentation

◆ CreateAnimatedMesh()

ValueResult< std::weak_ptr< Mesh::IAnimatedMesh > > AnimationSystem::AnimationMainSystem::CreateAnimatedMesh ( string const &  objectNameId,
string const &  filePath 
) const

Create a new mesh object.

Parameters
objectNameIdThe name used in select this object in future
filePathThe path to the mesh data
Returns
The result of this operation, containing a pointer to the created object

◆ CreateAnimatedSkeleton()

ValueResult< std::weak_ptr< IAnimatedSprite > > AnimationSystem::AnimationMainSystem::CreateAnimatedSkeleton ( string const &  objectNameId,
string const &  filePath 
) const

Create a new animated skeleton sprite.

Parameters
objectNameIdThe name used in select this object in future
filePathThe path to the sprite skeleton data
Returns
The result of this operation, containing a pointer to the created object

◆ CreateAnimatedSprite()

ValueResult< std::weak_ptr< IAnimatedSprite > > AnimationSystem::AnimationMainSystem::CreateAnimatedSprite ( string const &  objectNameId,
string const &  filePath 
) const

Create a new animated sprite.

Parameters
objectNameIdThe name used in select this object in future
filePathThe path to the sprite data
Returns
The result of this operation, containing a pointer to the created object

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