Class: UI::Quest::ObjectiveList
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::Quest::ObjectiveList
- Defined in:
- docs/4_Systems_800_Quest.rb
Overview
UI element showing the object list
Constant Summary
Constants inherited from SpriteStack
Instance Attribute Summary
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#initialize(viewport) ⇒ ObjectiveList
constructor
Initialize the ObjectiveList component.
-
#scroll_text(direction)
Scroll the text in the right direction if there’s more than 4 objectives.
-
#update_text(data)
Update the text depending on the forwarded data.
Methods inherited from SpriteStack
#[], #add_background, #add_line, #add_text, #anime, #anime_delta_set, #dispose, #each, #execute_anime, #move, #move_to, #opacity, #opacity=, #push, #push_sprite, #set_origin, #set_position, #simple_mouse_in?, #size, #stop_animation, #translate_mouse_coords, #update, #update_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport) ⇒ ObjectiveList
Initialize the ObjectiveList component
687 688 |
# File 'docs/4_Systems_800_Quest.rb', line 687 def initialize() end |
Instance Method Details
#scroll_text(direction)
Scroll the text in the right direction if there’s more than 4 objectives
695 696 |
# File 'docs/4_Systems_800_Quest.rb', line 695 def scroll_text(direction) end |
#update_text(data)
Update the text depending on the forwarded data
691 692 |
# File 'docs/4_Systems_800_Quest.rb', line 691 def update_text(data) end |