Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
144
void MenuItemNumberbox::decrease()
145
{
146
this->current -= this->jump;
147
this->cap();
148
}
149
void MenuItemNumberbox::reset()
150
{
151
this->current = this->initial;
Callers
1
handleInput
Method · 0.95
Calls
1
cap
Method · 0.95
Tested by
no test coverage detected