MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / EntityGroup

Method EntityGroup

Source/Entity/Entity.cpp:363–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363EntityGroup::EntityGroup(const std::vector<std::string>& components) {
364 _components.resize(components.size());
365 for (int i = 0; i < s_cast<int>(components.size()); i++) {
366 _components[i] = SharedEntityPool.getIndex(components[i]);
367 }
368}
369
370EntityGroup::~EntityGroup() {
371 if (Singleton<EntityPool>::isDisposed()) return;

Callers

nothing calls this directly

Calls 3

resizeMethod · 0.45
sizeMethod · 0.45
getIndexMethod · 0.45

Tested by

no test coverage detected