KisaragiLibrary
 
読み取り中…
検索中…
一致する文字列を見つけられません
BG クラス

#include <Test.hpp>

BG の継承関係図
Kisaragi_Lib::GameObj::GameObjBase

公開メンバ関数

void Start () override
 
- 基底クラス Kisaragi_Lib::GameObj::GameObjBase に属する継承公開メンバ関数
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 ()
 
void MessageComponentList (string _message)
 

その他の継承メンバ

- 基底クラス Kisaragi_Lib::GameObj::GameObjBase に属する継承公開変数類
Transform2D transform
 
- 基底クラス Kisaragi_Lib::GameObj::GameObjBase に属する継承限定公開変数類
bool isActive
 
string id
 
string name
 

関数詳解

◆ Start()

void BG::Start ( )
inlineoverridevirtual

Kisaragi_Lib::GameObj::GameObjBaseを再実装しています。

144 {
146 GetComponent<ImgGraph>().SetImg("BG", "res/back.jpeg");
147 GetComponent<ImgGraph>().ChangeLayer("BG", true);
148 GetLayerFacade().SwapLayer("BG", "Default");
149 }
T & GetComponent()
コンポーネントを取得する
Definition GameObj.hpp:84
void AddComponent()
コンポーネントを追加
Definition GameObj.hpp:70
void SwapLayer(string _key1, string _key2)
レイヤー順を交換する
Definition ImgComponent.cpp:101
LayerFacade & GetLayerFacade()
Definition ImgComponent.cpp:30

このクラス詳解は次のファイルから抽出されました: