3 #include "engine/typedefs.h"
4 #include "scripting/luabind.h"
6 #include <luabind/object.hpp>
8 #include <unordered_set>
47 luabind::object componentTypes,
62 luabind::object componentTypes
77 const std::unordered_set<EntityId>&
104 const std::unordered_set<EntityId>&
121 const std::unordered_set<EntityId>&
132 struct Implementation;
133 std::unique_ptr<Implementation> m_impl;
ScriptEntityFilter(luabind::object componentTypes, bool recordChanges)
Constructor.
Definition: script_entity_filter.cpp:158
~ScriptEntityFilter()
Destructor.
Definition: script_entity_filter.cpp:173
static luabind::scope luaBindings()
Lua bindings.
Definition: script_entity_filter.cpp:142
const std::unordered_set< EntityId > & removedEntities()
The set of removed entities.
Definition: script_entity_filter.cpp:222
void shutdown()
Shuts this filter down.
Definition: script_entity_filter.cpp:228
Script version of the EntityFilter.
Definition: script_entity_filter.h:17
const std::unordered_set< EntityId > & entities()
The set of entities that are contained in this filter.
Definition: script_entity_filter.cpp:203
const std::unordered_set< EntityId > & addedEntities()
Returns the set of added entities.
Definition: script_entity_filter.cpp:182
Definition: bullet_ogre_conversion.h:6
bool containsEntity(EntityId id) const
Checks for an entity id.
Definition: script_entity_filter.cpp:195
Represents a distinct set of active systems and entities.
Definition: game_state.h:41
void clearChanges()
Clears added and removed entities from this filter.
Definition: script_entity_filter.cpp:188
void init(GameState *gameState)
Initializes this filter.
Definition: script_entity_filter.cpp:212