MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / Toggle

Method Toggle

PanzerChasm/console.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void Console::Toggle()
36{
37 current_speed_= current_speed_ > 0.0f ? -1.0f : 1.0f;
38}
39
40bool Console::IsActive() const
41{

Callers 1

LoopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected