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

Method stop

Source/Platformer/UnitAction.cpp:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void UnitAction::stop() {
106 _doing = false;
107 _elapsedTime = 0.0f;
108 _decisionDelay = 0.0f;
109}
110
111void UnitAction::add(String name, Own<UnitActionDef>&& actionDef) {
112 _actionDefs[name.toString()] = std::move(actionDef);

Callers

nothing calls this directly

Calls 5

stopFunction · 0.85
make_pairFunction · 0.85
getPlayableMethod · 0.80
removeMethod · 0.65
slotMethod · 0.45

Tested by

no test coverage detected