#include <ImgComponent.hpp>
◆ ~Layer()
Kisaragi_Lib::ImgComponent::Layer::~Layer |
( |
| ) |
|
|
inline |
220 {
222 }
void Clear()
キューをクリアする.
Definition ImgComponent.hpp:240
◆ Push()
void Kisaragi_Lib::ImgComponent::Layer::Push |
( |
string | _id, |
|
|
ImgBase * | _drawComponent ) |
|
inline |
215 {
216 queue.emplace(_id, _drawComponent);
217 }
map< string, ImgBase * > queue
Definition ImgComponent.hpp:210
◆ Pop()
void Kisaragi_Lib::ImgComponent::Layer::Pop |
( |
string | _id | ) |
|
|
inline |
データをポップする.
228 {
230 {
231 return;
232 }
233
235 }
bool Empty()
キューが空か調べる.
Definition ImgComponent.hpp:249
◆ Clear()
void Kisaragi_Lib::ImgComponent::Layer::Clear |
( |
| ) |
|
|
inline |
◆ Empty()
bool Kisaragi_Lib::ImgComponent::Layer::Empty |
( |
| ) |
|
|
inline |
キューが空か調べる.
- 戻り値
- 空ならtrue
250 {
251 return queue.empty();
252 }
◆ Draw()
void Kisaragi_Lib::ImgComponent::Layer::Draw |
( |
| ) |
|
|
inline |
描画処理を行う.
259 {
260 for (
auto& q :
queue)
261 {
262
263
264
265 q.second->Draw();
266 }
267 }
◆ Cnt()
unsigned int Kisaragi_Lib::ImgComponent::Layer::Cnt |
( |
| ) |
|
|
inline |
270 {
271 return (
unsigned int)
queue.size();
272 }
◆ Queue()
map< string, ImgBase * > Kisaragi_Lib::ImgComponent::Layer::Queue |
( |
| ) |
|
|
inline |
◆ queue
map<string,ImgBase*> Kisaragi_Lib::ImgComponent::Layer::queue |
|
private |
このクラス詳解は次のファイルから抽出されました: