class Gamefic::Dispatcher

def execute

Returns:
  • (Command, nil) -
def execute
  return if action || actions.empty?
  @action = actions.shift
  Gamefic.logger.info "Dispatching #{actor.inspect} #{command.inspect}"
  run_hooks_and_response
  command
end