![]() |
Middle Europe Productions Library
alpha 1.3.3
|
A deffinition of an individual resource. More...
#include <ResourceManager.h>
Public Member Functions | |
| Resource (const ResourceType type, const U_int32 ID, const std::string &name, unsigned int nofFrames=1, bool transparency=false) | |
| Resource (const ResourceType type, const U_int32 ID, const U_int32 group, const std::string &name, unsigned int nofFrames=1, bool transparency=false) | |
| Resource (const U_int32 ID, const std::string &name, unsigned int nofFrames=1, bool transparency=false) | |
| Resource (const U_int32 ID, const U_int32 group, const std::string &name, unsigned int nofFrames=1, bool transparency=false) | |
| Resource (const U_int32 ID, std::list< sf::Image > &images, const std::string &name, bool transparency=false) | |
| Resource (const U_int32 ID, const U_int32 group, std::list< sf::Image > &images, const std::string &name, bool transparency=false) | |
Public Attributes | |
| const U_int32 | m_ID |
| const U_int32 | m_group |
| const std::string | m_name |
| ResourceType | m_type |
| unsigned int | m_nofFrames = 0 |
| bool | m_transparency = false |
| std::list< sf::Image > * | m_array = nullptr |
Additional Inherited Members | |
Protected Member Functions inherited from MEP::NonCopyable | |
| NonCopyable ()=default | |
| ~NonCopyable ()=default | |
A deffinition of an individual resource.
|
inline |
Resource contructor. It creates the font.
| [in] | ID | : An ID of a resource. |
| [in] | name | : Name of a resource. |
| [in] | nofFrames | : Number of textures. 1 by default. |
| [in] | transparency | : True if we want an object to generate alpha channel table. False by default. |
|
inline |
Resource contructor. It creates the font.
| [in] | ID | : An ID of a resource. |
| [in] | name | : Name of a resource. |
| [in] | nofFrames | : Number of textures. 1 by default. |
| [in] | transparency | : True if we want an object to generate alpha channel table. False by default. |
|
inline |
Resource contructor. It is capable of creating Single and Multi resource.
| [in] | ID | : An ID of a resource. |
| [in] | name | : Name of a resource. |
| [in] | nofFrames | : Number of textures. 1 by default. |
| [in] | transparency | : True if we want an object to generate alpha channel table. False by default. |
|
inline |
Resource contructor. It is capable of creating Single and Multi resource.
| [in] | ID | : An ID of a resource. |
| [in] | group | : A group of a resource. |
| [in] | name | : Name of a resource. |
| [in] | nofFrames | : Number of textures. 1 by default. |
| [in] | transparency | : True if we want an object to generate alpha channel table. False by default. |
|
inline |
Resource contructor. It is capable of creating ImageArray resource.
| [in] | ID | : An ID of a resource. |
| [in] | name | : Name of a resource. |
| [in] | nofFrames | : Number of textures. 1 by default. |
| [in] | transparency | : True if we want an object to generate alpha channel table. False by default. |
|
inline |
Resource contructor. It is capable of creating ImageArray resource.
| [in] | ID | : An ID of a resource. |
| [in] | group | : A group of a resource. |
| [in] | name | : Name of a resource. |
| [in] | nofFrames | : Number of textures. 1 by default. |
| [in] | transparency | : True if we want an object to generate alpha channel table. False by default. |
| std::list<sf::Image>* MEP::Resource::m_array = nullptr |
| const U_int32 MEP::Resource::m_group |
| const U_int32 MEP::Resource::m_ID |
| const std::string MEP::Resource::m_name |
| unsigned int MEP::Resource::m_nofFrames = 0 |
| bool MEP::Resource::m_transparency = false |
| ResourceType MEP::Resource::m_type |