Facadeクラスのcontainerに対するインターフェースとなるクラス [詳解]
#include <Sound.hpp>
公開メンバ関数 | |
SoundPlayerComponent () | |
SoundClip & | operator[] (std::string _key) |
void | Add (std::string _key, std::string _soundFile, std::string _clipName) |
void | Add (std::string _key, std::string _clipName) |
void | Pop (std::string _clipName) |
~SoundPlayerComponent () | |
![]() | |
void | GameObj (GameObjBase *_obj) |
GameObjBase * | GameObj () |
string | ID () const |
void | ID (string _id) |
virtual ComponentBase * | GetThisComponent () |
virtual void | Start () |
virtual | ~ComponentBase () |
非公開変数類 | |
std::unordered_map< std::string, std::unique_ptr< SoundClip > > | vec |
その他の継承メンバ | |
![]() | |
string | id |
string | name |
GameObjBase * | gameObj |
Facadeクラスのcontainerに対するインターフェースとなるクラス
Kisaragi_Lib::SoundPlayerComponent::SoundPlayerComponent | ( | ) |
|
inline |
|
inline |
void Kisaragi_Lib::SoundPlayerComponent::Add | ( | std::string | _key, |
std::string | _soundFile, | ||
std::string | _clipName ) |
void Kisaragi_Lib::SoundPlayerComponent::Add | ( | std::string | _key, |
std::string | _clipName ) |
void Kisaragi_Lib::SoundPlayerComponent::Pop | ( | std::string | _clipName | ) |
|
private |
参照元 Add(), Add(), operator[](), Pop(), ~SoundPlayerComponent().