class

Game::Controller

Inherits Reference < Object

Handle button to action mapping in a dynamic way

Constructors

new(mapping : Hash(SF::Keyboard::Key, String))
Source

Instance methods

action?(name)
Source
press(button)
Source
registered?(button)
Source
release(button)
Source