|
NasNas
An intuitive and beginner friendly 2D game framework for C++
|
Public Member Functions | |
| bool_switch (std::function< void()> on_true, std::function< void()> on_false) | |
| virtual auto | operator= (bool value) -> bool_switch & |
| auto | operator= (const bool_switch &other) -> bool_switch & |
| virtual | operator bool () const |
Protected Attributes | |
| bool | m_val |
| std::function< void()> | m_on_true |
| std::function< void()> | m_on_false |
1.8.13