Class: Idml::Render::StoryChainController::State

Inherits:
Struct
  • Object
show all
Defined in:
lib/idml/render/story_chain_controller.rb

Overview

paragraphs : Array not yet started current_paragraph : Paragraph in progress (nil if none) runs_remaining : Array in current_paragraph not yet rendered char_cursor : global character cursor (for hyperlink tracking)

Instance Attribute Summary collapse

Instance Attribute Details

#char_cursorObject

Returns the value of attribute char_cursor

Returns:

  • (Object)

    the current value of char_cursor



23
24
25
# File 'lib/idml/render/story_chain_controller.rb', line 23

def char_cursor
  @char_cursor
end

#current_paragraphObject

Returns the value of attribute current_paragraph

Returns:

  • (Object)

    the current value of current_paragraph



23
24
25
# File 'lib/idml/render/story_chain_controller.rb', line 23

def current_paragraph
  @current_paragraph
end

#paragraphsObject

Returns the value of attribute paragraphs

Returns:

  • (Object)

    the current value of paragraphs



23
24
25
# File 'lib/idml/render/story_chain_controller.rb', line 23

def paragraphs
  @paragraphs
end

#runs_remainingObject

Returns the value of attribute runs_remaining

Returns:

  • (Object)

    the current value of runs_remaining



23
24
25
# File 'lib/idml/render/story_chain_controller.rb', line 23

def runs_remaining
  @runs_remaining
end