MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / DrawDebug

Method DrawDebug

TombEngine/Specific/Input/InputAction.cpp:204–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 }
203
204 void Action::DrawDebug() const
205 {
206 PrintDebugMessage("INPUT ACTION DEBUG");
207 PrintDebugMessage("ID: %d", (int)_id);
208 PrintDebugMessage("IsClicked: %d", IsClicked());
209 PrintDebugMessage("IsHeld: %d", IsHeld());
210 PrintDebugMessage("IsPulsed (.2s, .6s): %d", IsPulsed(0.2f, 0.6f));
211 PrintDebugMessage("IsReleased: %d", IsReleased());
212 PrintDebugMessage("");
213 PrintDebugMessage("Value: %.3f", _value);
214 PrintDebugMessage("PrevValue: %.3f", _prevValue);
215 PrintDebugMessage("TimeActive: %d", _timeActive);
216 PrintDebugMessage("PrevTimeActive: %d", _prevTimeActive);
217 PrintDebugMessage("TimeInactive: %d", _timeInactive);
218 }
219}

Callers

nothing calls this directly

Calls 5

PrintDebugMessageFunction · 0.85
IsClickedFunction · 0.85
IsHeldFunction · 0.85
IsPulsedFunction · 0.85
IsReleasedFunction · 0.85

Tested by

no test coverage detected