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

Method CollisionSystem

examples/example.cc:174–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173public:
174 explicit CollisionSystem(sf::RenderTarget &target) : size(target.getSize()) {
175 size.x = size.x / PARTITIONS + 1;
176 size.y = size.y / PARTITIONS + 1;
177 }
178
179 void update(ex::EntityManager &es, ex::EventManager &events, ex::TimeDelta dt) override {
180 reset();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected