Adding a state and scene utils

This commit is contained in:
Zoe Roux
2021-05-24 14:59:28 +02:00
parent 6f7e7ffaf9
commit 54fe800549
8 changed files with 136 additions and 32 deletions
+6
View File
@@ -50,5 +50,11 @@ namespace WAL
~Callback() = default;
//! @brief A default assignment operator
Callback &operator=(const Callback &) = default;
//! @brief Implicitly transform a function into a callback.
Callback(std::function<void (Types...)> callback) // NOLINT(google-explicit-constructor)
{
this->addCallback(callback);
}
};
}