Class: UI::Summary_Contest
- Inherits:
-
Summary_Skills
- Object
- SpriteStack
- Summary_Skills
- UI::Summary_Contest
- Defined in:
- docs/4_Systems_102_Party.rb
Overview
UI part displaying the Contest Data of the Creature in the Summary
Defined Under Namespace
Classes: Summary_Contest_Skill
Constant Summary collapse
- PENTAGON_BASE_COORDINATES =
Coordinates of the points constituting the pentagon of the stats display when the corresponding stat is at the minimum
[[210.5, 67.5], [213.5, 69.5], [212.5, 72.5], [208.5, 72.5], [207.5, 69.5]]
- PENTAGON_MAX_COORDINATES =
Coordinates of the points constituting the pentagon of the stats display when the corresponding stat is at the maximum
[[210.5, 39.5], [240.5, 61.5], [229.5, 95.5], [192.5, 95.5], [180.5, 61.5]]
- PENTAGON_COLOR =
Color of the pentagon fill
[127, 233, 210, 150]
- PENTAGON_OUTLINE_COLOR =
Color of the pentagon outline
[65, 142, 192, 255]
- PENTAGON_OUTLINE_THICKNESS =
Thickness of the pentagon outline in pixels
1
Constants inherited from SpriteStack
UI::SpriteStack::NO_INITIAL_IMAGE
Instance Attribute Summary collapse
-
#appeal_hearts ⇒ Array<SpriteSheet>
readonly
Appeal hearts sprites.
-
#background ⇒ SpriteSheet
readonly
Background of this summary page.
-
#jam_hearts ⇒ Array<SpriteSheet>
readonly
Jam hearts sprites.
-
#page_version ⇒ Symbol
The shown version of this summary page (:moves or :stats).
-
#sheen_stars ⇒ Array<Sprite>
readonly
Sheen stars sprites.
Attributes inherited from Summary_Skills
Attributes inherited from SpriteStack
#animated, #data, #font_id, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#data=(creature)
Set the data of the UI.
-
#index=(index)
Set the index of the shown move.
-
#initialize(viewport) ⇒ Summary_Contest
constructor
Create a new Contest UI for the summary.
-
#show_page_version(version)
Show the specified version of the summary page.
-
#visible=(value)
Set the visibility of the UI.
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, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport) ⇒ Summary_Contest
Create a new Contest UI for the summary
394 395 |
# File 'docs/4_Systems_102_Party.rb', line 394 def initialize() end |
Instance Attribute Details
#appeal_hearts ⇒ Array<SpriteSheet> (readonly)
Appeal hearts sprites
382 383 384 |
# File 'docs/4_Systems_102_Party.rb', line 382 def appeal_hearts @appeal_hearts end |
#background ⇒ SpriteSheet (readonly)
Background of this summary page
379 380 381 |
# File 'docs/4_Systems_102_Party.rb', line 379 def background @background end |
#jam_hearts ⇒ Array<SpriteSheet> (readonly)
Jam hearts sprites
385 386 387 |
# File 'docs/4_Systems_102_Party.rb', line 385 def jam_hearts @jam_hearts end |
#page_version ⇒ Symbol
The shown version of this summary page (:moves or :stats)
391 392 393 |
# File 'docs/4_Systems_102_Party.rb', line 391 def page_version @page_version end |
#sheen_stars ⇒ Array<Sprite> (readonly)
Sheen stars sprites
388 389 390 |
# File 'docs/4_Systems_102_Party.rb', line 388 def sheen_stars @sheen_stars end |
Instance Method Details
#data=(creature)
Set the data of the UI
402 403 |
# File 'docs/4_Systems_102_Party.rb', line 402 def data=(creature) end |
#index=(index)
Set the index of the shown move
406 407 |
# File 'docs/4_Systems_102_Party.rb', line 406 def index=(index) end |
#show_page_version(version)
Show the specified version of the summary page
410 411 |
# File 'docs/4_Systems_102_Party.rb', line 410 def show_page_version(version) end |
#visible=(value)
Set the visibility of the UI
398 399 |
# File 'docs/4_Systems_102_Party.rb', line 398 def visible=(value) end |