Class: Canis::Utils::MapNode
- Defined in:
- lib/canis/core/widgets/rwidget.rb
Overview
# this allows us to play a bit with the map, and allocate one action to another key # get_action_map() = get_action(32) # But we will hold on this unless absolutely necessary. 2014-05-12 - 22:36 CANIS.
def get_action keycode
@_key_map[keycode]
end
def get_action_map
@_key_map
end
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#fetch(key, deft = nil) ⇒ Object
fetch / get returns a node, or nil.
-
#initialize(arg = nil) ⇒ MapNode
constructor
A new instance of MapNode.
- #put(key, value) ⇒ Object
Constructor Details
Instance Attribute Details
#action ⇒ Object
515 516 517 |
# File 'lib/canis/core/widgets/rwidget.rb', line 515 def action @action end |