Go to the documentation of this file.
46 void onSelfUpdate(std::chrono::nanoseconds dtime)
override;
void onFixedUpdate(WAL::ViewEntity< PositionComponent, ControllableComponent, IAControllableComponent, BombHolderComponent > &entity) override
Definition: IAControllableSystem.cpp:96
void updateDangerBomb(Vector3f pos, int radius, std::chrono::nanoseconds ringIn)
update danger map with a bomb
Definition: IAControllableSystem.cpp:48
IAControllableSystem(WAL::Wal &wal)
A default constructor.
Definition: IAControllableSystem.cpp:16
void onSelfUpdate(std::chrono::nanoseconds dtime) override
A method called after all entities that this system manage has been updated.
Definition: IAControllableSystem.cpp:123
Definition: AnimationsComponent.cpp:9
The main WAL class, it is used to setup and run the ECS.
Definition: Wal.hpp:27
~IAControllableSystem() override=default
A default destructor.
void UpdateMapInfos(WAL::ViewEntity< PositionComponent, ControllableComponent, IAControllableComponent, BombHolderComponent > &entity)
update the raw info of the map
Definition: IAControllableSystem.cpp:20
Definition: LuaGate.hpp:12
LuaMap _luamap
Map to handle the informations.
Definition: IAControllableSystem.hpp:26
std::vector< MapInfo > _players
All players in the map.
Definition: IAControllableSystem.hpp:29
WAL::Wal & _wal
Reference to wal to get Views.
Definition: IAControllableSystem.hpp:20
IAControllableSystem & operator=(const IAControllableSystem &)=default
A keyboard system is assignable.
A base system of WAL.
Definition: System.hpp:22
Definition: LuaMap.hpp:13
void registerFunc(LuaG::State &state)
Register the functions to the lua.
Definition: IAControllableSystem.cpp:79
A system to handle keyboard entities.
Definition: IAControllableSystem.hpp:16
bool _cached
Are the infos cached for current update.
Definition: IAControllableSystem.hpp:23