Class: UI::CoordinatorWithContestantSprite
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::CoordinatorWithContestantSprite
- Includes:
- BattleUI::GoingInOut, UI
- Defined in:
- docs/6_Contest_01_Scene.rb
Overview
Class that represents a Coordinator with its Creature during a contest
Constant Summary
Constants inherited from SpriteStack
Instance Attribute Summary collapse
-
#animation_handler ⇒ Yuki::Animation::Handler{ Symbol => Yuki::AnimationMixin}
Get the animation handler.
-
#contestant ⇒ PFM::ContestCreature
The Contestant shown with the sprite.
-
#contestant_sprite ⇒ UI::Sprite
Contestant's sprite.
-
#coordinator ⇒ String
Coordinator sprite name.
-
#coordinator_sprite ⇒ UI::Sprite
Coordinator's sprite.
Attributes inherited from SpriteStack
#animated, #data, #font_id, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#create_animation
Create the animation.
-
#done? ⇒ Boolean
Tell if the Sprite animations are done.
-
#go_in_animation ⇒ Yuki::AnimationMixin
Creates the go_in animation.
-
#go_out_animation ⇒ Yuki::AnimationMixin
Creates the go_out animation.
-
#initialize(viewport, coordinator) ⇒ CoordinatorWithContestantSprite
constructor
Create a new CoordinatorWithContestant Sprite.
-
#update
Update the Sprtie.
Methods included from BattleUI::GoingInOut
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_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport, coordinator) ⇒ CoordinatorWithContestantSprite
Create a new CoordinatorWithContestant Sprite
587 588 |
# File 'docs/6_Contest_01_Scene.rb', line 587 def initialize(, coordinator) end |
Instance Attribute Details
#animation_handler ⇒ Yuki::Animation::Handler{ Symbol => Yuki::AnimationMixin}
Get the animation handler
583 584 585 |
# File 'docs/6_Contest_01_Scene.rb', line 583 def animation_handler @animation_handler end |
#contestant ⇒ PFM::ContestCreature
The Contestant shown with the sprite
574 575 576 |
# File 'docs/6_Contest_01_Scene.rb', line 574 def contestant @contestant end |
#contestant_sprite ⇒ UI::Sprite
Contestant's sprite
580 581 582 |
# File 'docs/6_Contest_01_Scene.rb', line 580 def contestant_sprite @contestant_sprite end |
#coordinator ⇒ String
Coordinator sprite name
571 572 573 |
# File 'docs/6_Contest_01_Scene.rb', line 571 def coordinator @coordinator end |
#coordinator_sprite ⇒ UI::Sprite
Coordinator's sprite
577 578 579 |
# File 'docs/6_Contest_01_Scene.rb', line 577 def coordinator_sprite @coordinator_sprite end |
Instance Method Details
#create_animation
Create the animation
594 595 |
# File 'docs/6_Contest_01_Scene.rb', line 594 def create_animation end |
#done? ⇒ Boolean
Tell if the Sprite animations are done
601 602 |
# File 'docs/6_Contest_01_Scene.rb', line 601 def done? end |
#go_in_animation ⇒ Yuki::AnimationMixin
Creates the go_in animation
605 606 |
# File 'docs/6_Contest_01_Scene.rb', line 605 def go_in_animation end |
#go_out_animation ⇒ Yuki::AnimationMixin
Creates the go_out animation
609 610 |
# File 'docs/6_Contest_01_Scene.rb', line 609 def go_out_animation end |
#update
Update the Sprtie
597 598 |
# File 'docs/6_Contest_01_Scene.rb', line 597 def update end |