push tables correctly, pushing player and raw map info

This commit is contained in:
Bluub
2021-06-14 17:39:07 +02:00
parent fb53f4b5b7
commit 4c0e765f41
6 changed files with 124 additions and 20 deletions
@@ -29,8 +29,17 @@ namespace BBM
//! @brief All bombs on the map
std::vector<std::pair<Vector3f, int>> _bombs;
//! @brief
//! @brief update the raw info of the map
void UpdateMapInfos(WAL::ViewEntity<PositionComponent, ControllableComponent, IAControllableComponent> &entity);
//! @brief push player info
void pushInfoPlayer(LuaG::State &state, MapInfo &player);
//! @brief push raw map info
void pushInfoRaw(LuaG::State &state);
//! @brief push all the infos to the ai stack
void pushInfo(LuaG::State &state, MapInfo &player);
public:
//! @inherit