Class: UI::Quest::CategoryDisplay
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::Quest::CategoryDisplay
- Defined in:
- docs/4_Systems_800_Quest.rb
Overview
UI element displaying a quest category
Constant Summary collapse
- TEXT_CATEGORY =
All the category text getters
{primary: [:ext_text, 9006, 5], secondary: [:ext_text, 9006, 6], finished: [:ext_text, 9006, 7], failed: [:ext_text, 9006, 9]}
Constants inherited from SpriteStack
Instance Attribute Summary
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#initialize(viewport, category) ⇒ CategoryDisplay
constructor
Initialize the QuestButton component.
-
#update_category_text(category)
Update the category text depending on the new category.
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, category) ⇒ CategoryDisplay
Initialize the QuestButton component
586 587 |
# File 'docs/4_Systems_800_Quest.rb', line 586 def initialize(, category) end |
Instance Method Details
#update_category_text(category)
Update the category text depending on the new category
590 591 |
# File 'docs/4_Systems_800_Quest.rb', line 590 def update_category_text(category) end |