MCPcopy Create free account
hub / github.com/alecthomas/entityx / configure

Method configure

examples/example.cc:280–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278class ExplosionSystem : public ex::System<ExplosionSystem>, public ex::Receiver<ExplosionSystem> {
279public:
280 void configure(ex::EventManager &events) override {
281 events.subscribe<CollisionEvent>(*this);
282 }
283
284 void update(ex::EntityManager &es, ex::EventManager &events, ex::TimeDelta dt) override {
285 for (ex::Entity entity : collided) {

Callers 1

ApplicationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected