dragon/controller.rb
# Activates a key into the held down position.
#
# @param key [Symbol] The key to hold down.
#
# @return [void]
Activates a key into the held down position.
Activates a key into the held down position .
def activate_held(key)
      key_down.deactivate(key)
      key_held.activate(key) unless key_held.send(key)
      key_up.deactivate(key)
    end
def activate_held ( key ) key_down . deactivate ( key ) key_held . activate ( key ) unless key_held . send ( key ) key_up . deactivate ( key ) end
Activates a key into the held down position.
Activates a key into the held down position .
None
void
key
The key to hold down.
The key to hold down .