![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
簡易的なシーン管理 More...
#include <MiniScene.hpp>
Public Types | |
using | SceneFunction = std::function< void()> |
シーンの関数オブジェクトの型 More... | |
Public Member Functions | |
~MiniScene () | |
デストラクタ More... | |
SceneFunction & | operator[] (const State &state) |
シーンを登録します。 More... | |
void | changeState (const State &state) |
シーンを変更します。 More... | |
簡易的なシーン管理
State | シーンを区別するキーの型 |
using s3d::MiniScene< State >::SceneFunction = std::function<void()> |
シーンの関数オブジェクトの型
s3d::MiniScene< State >::~MiniScene | ( | ) |
デストラクタ
void s3d::MiniScene< State >::changeState | ( | const State & | state | ) |
シーンを変更します。
State | 次のシーンのキー |
SceneFunction& s3d::MiniScene< State >::operator[] | ( | const State & | state | ) |
シーンを登録します。
State | 登録するシーンの型 |