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

Method reset

examples/example.cc:189–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 sf::Vector2u size;
188
189 void reset() {
190 grid.clear();
191 grid.resize(size.x * size.y);
192 }
193
194 void collect(ex::EntityManager &entities) {
195 ex::ComponentHandle<Body> body;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected