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

描画コンポーネントの基底クラス. [詳解]

#include <ImgComponent.hpp>

Kisaragi_Lib::ImgComponent::ImgBase の継承関係図
Kisaragi_Lib::ComponentBase Kisaragi_Lib::ImgComponent::ImgCircle Kisaragi_Lib::ImgComponent::ImgGraph Kisaragi_Lib::ImgComponent::ImgLine Kisaragi_Lib::ImgComponent::ImgText

公開メンバ関数

virtual void Draw (Matrix2D _drawMat)
 
virtual void Draw ()
 
string Layer () const
 
void ChangeLayer (string _layerName, bool _layerCreate)
 
void Start () override
 
virtual ~ImgBase ()
 
- 基底クラス Kisaragi_Lib::ComponentBase に属する継承公開メンバ関数
void GameObj (GameObjBase *_obj)
 
GameObjBaseGameObj ()
 
string ID () const
 
void ID (string _id)
 
virtual ComponentBaseGetThisComponent ()
 
virtual ~ComponentBase ()
 

限定公開変数類

string layer
 
- 基底クラス Kisaragi_Lib::ComponentBase に属する継承限定公開変数類
string id
 
string name
 
GameObjBasegameObj
 

詳解

描画コンポーネントの基底クラス.

構築子と解体子

◆ ~ImgBase()

Kisaragi_Lib::ImgComponent::ImgBase::~ImgBase ( )
virtual
17 {
19 }
string layer
Definition ImgComponent.hpp:51
void ImgPop(string _layerName, string _id)
Definition ImgComponent.cpp:155
LayerFacade & GetLayerFacade()
Definition ImgComponent.cpp:30

関数詳解

◆ Draw() [1/2]

virtual void Kisaragi_Lib::ImgComponent::ImgBase::Draw ( Matrix2D _drawMat)
inlinevirtual

◆ Draw() [2/2]

virtual void Kisaragi_Lib::ImgComponent::ImgBase::Draw ( )
inlinevirtual

ImgGraph, Kisaragi_Lib::ImgComponent::ImgGraphで再実装されています。

56{};

◆ Layer()

string Kisaragi_Lib::ImgComponent::ImgBase::Layer ( ) const
inline
58 {
59 return layer;
60 }

◆ ChangeLayer()

void Kisaragi_Lib::ImgComponent::ImgBase::ChangeLayer ( string _layerName,
bool _layerCreate = false )
22 {
24 GetLayerFacade().ImgPush(_layerName, this, _layerCreate);
25 layer = _layerName;
26 }
void ImgPush(string _layerName, ImgBase *_drawData, bool ifCreate=false)
Definition ImgComponent.cpp:138

◆ Start()

void Kisaragi_Lib::ImgComponent::ImgBase::Start ( )
overridevirtual

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

11 {
12 layer = "Default";
14 }

メンバ詳解

◆ layer

string Kisaragi_Lib::ImgComponent::ImgBase::layer
protected

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