Class: UI::CurtainSprite
- Inherits:
-
Sprite
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- UI::CurtainSprite
- Includes:
- BattleUI::GoingInOut, UI
- Defined in:
- docs/6_Contest_01_Scene.rb
Overview
Class that represents the Curtains during a contest
Constant Summary collapse
- SPRITE_NAME =
Curtain sprite name
'contest/curtain'
Instance Attribute Summary collapse
-
#animation_handler ⇒ Yuki::Animation::Handler{ Symbol => Yuki::AnimationMixin}
readonly
Get the animation handler.
-
#side ⇒ Symbol
readonly
Side of the curtain.
-
#viewport ⇒ Viewport
readonly
The viewport.
Attributes inherited from LiteRGSS::ShaderedSprite
Attributes inherited from LiteRGSS::Sprite
#__index__, #angle, #bitmap, #height, #mirror, #opacity, #ox, #oy, #src_rect, #visible, #width, #x, #y, #z, #zoom, #zoom_x, #zoom_y
Instance Method Summary collapse
-
#create_animation
Create the animation.
-
#done? ⇒ Boolean
Tell if the InfoBox animations are done.
-
#go_in_animation ⇒ Yuki::AnimationMixin
Get the in animation.
-
#go_out_animation ⇒ Yuki::AnimationMixin
Get the out animation.
-
#initialize(viewport, side) ⇒ CurtainSprite
constructor
Create a new Curtain Sprite.
-
#update
Update the InfoBox.
Methods included from BattleUI::GoingInOut
Methods inherited from Sprite
#load, #mouse_in?, #set_origin_div, #set_rect, #set_rect_div, #set_z, #simple_mouse_in?, #translate_mouse_coords
Methods inherited from LiteRGSS::Sprite
Methods inherited from LiteRGSS::Disposable
Constructor Details
#initialize(viewport, side) ⇒ CurtainSprite
Create a new Curtain Sprite
666 667 |
# File 'docs/6_Contest_01_Scene.rb', line 666 def initialize(, side) end |
Instance Attribute Details
#animation_handler ⇒ Yuki::Animation::Handler{ Symbol => Yuki::AnimationMixin} (readonly)
Get the animation handler
659 660 661 |
# File 'docs/6_Contest_01_Scene.rb', line 659 def animation_handler @animation_handler end |
#side ⇒ Symbol (readonly)
Side of the curtain
656 657 658 |
# File 'docs/6_Contest_01_Scene.rb', line 656 def side @side end |
#viewport ⇒ Viewport (readonly)
The viewport
662 663 664 |
# File 'docs/6_Contest_01_Scene.rb', line 662 def @viewport end |
Instance Method Details
#create_animation
Create the animation
669 670 |
# File 'docs/6_Contest_01_Scene.rb', line 669 def create_animation end |
#done? ⇒ Boolean
Tell if the InfoBox animations are done
676 677 |
# File 'docs/6_Contest_01_Scene.rb', line 676 def done? end |
#go_in_animation ⇒ Yuki::AnimationMixin
Get the in animation
680 681 |
# File 'docs/6_Contest_01_Scene.rb', line 680 def go_in_animation end |
#go_out_animation ⇒ Yuki::AnimationMixin
Get the out animation
684 685 |
# File 'docs/6_Contest_01_Scene.rb', line 684 def go_out_animation end |
#update
Update the InfoBox
672 673 |
# File 'docs/6_Contest_01_Scene.rb', line 672 def update end |