MCPcopy
hub / github.com/EngoEngine/engo / Button

Method Button

input.go:76–78  ·  view source on GitHub ↗

Button retrieves a Button with a specified name.

(name string)

Source from the content-addressed store, hash-verified

74
75// Button retrieves a Button with a specified name.
76func (im *InputManager) Button(name string) Button {
77 return im.buttons[name]
78}
79
80// Gamepad retrieves a Gamepad with a specified name.
81func (im *InputManager) Gamepad(name string) *Gamepad {

Callers 11

runBtnChecksFunction · 0.80
checkBtnConfigOptimalFunction · 0.80
setAnimationFunction · 0.80
getSpeedFunction · 0.80
UpdateMethod · 0.80
UpdateMethod · 0.80
UpdateMethod · 0.80
UpdateMethod · 0.80
getSpeedFunction · 0.80
UpdateMethod · 0.80
UpdateMethod · 0.80

Calls

no outgoing calls

Tested by 2

runBtnChecksFunction · 0.64
checkBtnConfigOptimalFunction · 0.64