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