Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
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