Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/EngoEngine/engo
/ Down
Method
Down
keys.go:110–112 ·
view source on GitHub ↗
Down returns wether a key is being pressed
()
Source
from the content-addressed store, hash-verified
108
109
// Down returns wether a key is being pressed
110
func
(key KeyState) Down() bool {
111
return
(key.lastState && key.currentState)
112
}
Callers
12
runKeyChecks
Function · 0.45
checkKeyConfigOptimal
Function · 0.45
checkKeyConfigSubOptimal
Function · 0.45
Value
Method · 0.45
runBtnChecks
Function · 0.45
checkBtnConfigOptimal
Function · 0.45
setAnimation
Function · 0.45
getSpeed
Function · 0.45
Update
Method · 0.45
Update
Method · 0.45
getSpeed
Function · 0.45
Update
Method · 0.45
Calls
no outgoing calls
Tested by
5
runKeyChecks
Function · 0.36
checkKeyConfigOptimal
Function · 0.36
checkKeyConfigSubOptimal
Function · 0.36
runBtnChecks
Function · 0.36
checkBtnConfigOptimal
Function · 0.36