mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-03 10:26:29 +00:00
added through breakable
This commit is contained in:
@@ -70,6 +70,11 @@ namespace LuaG
|
||||
return res;
|
||||
}
|
||||
|
||||
bool State::getBool(int idx)
|
||||
{
|
||||
return lua_toboolean(_state, idx);
|
||||
}
|
||||
|
||||
float State::getNumber(int idx)
|
||||
{
|
||||
return lua_tonumber(_state, idx);
|
||||
|
||||
@@ -52,6 +52,9 @@ namespace LuaG
|
||||
//! @brief Get return Number
|
||||
bool getReturnBool(void);
|
||||
|
||||
//! @brief Get bool at index in the stack
|
||||
bool getBool(int index);
|
||||
|
||||
//! @brief Get Number at index in the stack
|
||||
float getNumber(int index);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user