class Gamefic::Active::Cue

def scene

Returns:
  • (Scene::Base) -
def scene
  # @note This method always returns a new instance. Scenes identified

  #   by symbolic keys can be instances of anonymous classes that cannot

  #   be serialized, so memoizing them breaks snapshots.

  narrative&.prepare(key, actor, props, **context) ||
    try_unblocked_class ||
    raise("Failed to cue #{key.inspect} in #{narrative.inspect}")
end