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

Function ARRAY_START

Source/Platformer/PlatformWorld.cpp:134–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 if (_flags.isOn(Node::Reorder)) {
133 Node::sortAllChildren();
134 ARRAY_START(Layer, layer, _children) {
135 std::vector<Node*> nodes;
136 ARRAY_START(Node, child, layer->getChildren()) {
137 if (child->getOrder() != layer->getOrder()) {
138 nodes.push_back(child);
139 }
140 }
141 ARRAY_END
142 for (Node* node : nodes) {
143 moveChild(node, node->getOrder());
144 }
145 }
146 ARRAY_END
147 }
148}

Callers 3

toNodeMethod · 0.70
runDecisionTreeMethod · 0.70
onAttackMethod · 0.70

Calls 3

getOrderMethod · 0.80
getChildrenMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected