get the 4 returns of the update function

This commit is contained in:
Bluub
2021-06-07 11:19:23 +02:00
parent 2c3fbee797
commit 75f6b04e9a
4 changed files with 42 additions and 12 deletions
@@ -11,6 +11,11 @@ namespace BBM
//! @brief A system to handle keyboard entities.
class IAControllableSystem : public WAL::System
{
private:
//! @brief extract a number from the lua stack
float getReturnNumber(lua_State *state);
//! @brief extract a bool from the lua stack
bool getReturnBool(lua_State *state);
public:
//! @inherit
void onFixedUpdate(WAL::Entity &entity) override;