#include <GameObj.hpp>
公開メンバ関数 | |
string | GetName () |
virtual void | OnCollisionEnter (GameObjBase *_other) |
virtual void | OnCollisionStay (GameObjBase *_other) |
virtual void | OnCollisionExit (GameObjBase *_other) |
GameObjBase () | |
virtual | ~GameObjBase () |
template<class T> | |
void | AddComponent () |
コンポーネントを追加 | |
template<class T> | |
T & | GetComponent () |
コンポーネントを取得する | |
template<class T> | |
T & | TryGetComponent () |
コンポーネントを取得する | |
void | AddRemoveComponent (ComponentBase *_com) |
void | AddRemoveComponent (string _id) |
void | Destroy () |
string | ID () const |
void | ID (string _id) |
virtual void | Update () |
virtual void | Start () |
void | MessageComponentList (string _message) |
公開変数類 | |
Transform2D | transform |
限定公開変数類 | |
bool | isActive |
string | id |
string | name |
非公開変数類 | |
ComponentList | componentList |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
コンポーネントを追加
T | 追加したいコンポーネントの型 |
|
inline |
コンポーネントを取得する
T | 捜索するコンポーネントの型 |
失敗時 : プログラム終了
|
inline |
コンポーネントを取得する
T | 捜索するコンポーネントの型 |
失敗時 : 何も返さない
void Kisaragi_Lib::GameObj::GameObjBase::AddRemoveComponent | ( | ComponentBase * | _com | ) |
void Kisaragi_Lib::GameObj::GameObjBase::AddRemoveComponent | ( | string | _id | ) |
void Kisaragi_Lib::GameObj::GameObjBase::Destroy | ( | ) |
string Kisaragi_Lib::GameObj::GameObjBase::ID | ( | ) | const |
void Kisaragi_Lib::GameObj::GameObjBase::ID | ( | string | _id | ) |
|
inlinevirtual |
|
inlinevirtual |
void Kisaragi_Lib::GameObj::GameObjBase::MessageComponentList | ( | string | _message | ) |
|
private |
|
protected |
|
protected |
|
protected |
Transform2D Kisaragi_Lib::GameObj::GameObjBase::transform |