MCPcopy Create free account
hub / github.com/alexdantas/nSnake / decrease

Method decrease

src/Interface/Menu/MenuItemNumberbox.cpp:144–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 this->cap();
143}
144void MenuItemNumberbox::decrease()
145{
146 this->current -= this->jump;
147 this->cap();
148}
149void MenuItemNumberbox::reset()
150{
151 this->current = this->initial;

Callers 1

handleInputMethod · 0.95

Calls 1

capMethod · 0.95

Tested by

no test coverage detected