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

Method SpawnSystem

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

Source from the content-addressed store, hash-verified

90class SpawnSystem : public ex::System<SpawnSystem> {
91public:
92 explicit SpawnSystem(sf::RenderTarget &target, int count) : size(target.getSize()), count(count) {}
93
94 void update(ex::EntityManager &es, ex::EventManager &events, ex::TimeDelta dt) override {
95 int c = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected