MCPcopy Create free account
hub / github.com/axmolengine/axmol / visit

Method visit

core/2d/ComponentContainer.cpp:116–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void ComponentContainer::visit(float delta)
117{
118 if (!_componentMap.empty())
119 {
120 AX_SAFE_RETAIN(_owner);
121 for (auto&& iter : _componentMap)
122 {
123 iter.second->update(delta);
124 }
125 AX_SAFE_RELEASE(_owner);
126 }
127}
128
129void ComponentContainer::onEnter()
130{

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected