Class: UI::AudienceHeartSprite
- Inherits:
-
Sprite
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- UI::AudienceHeartSprite
- Includes:
- UI
- Defined in:
- docs/6_Contest_01_Scene.rb
Overview
Class that represents an audience's reaction heart during a contest
Constant Summary collapse
- SPRITE_NAME =
Heart's sprite filename
'contest/audience_heart'
Instance Attribute Summary
Attributes inherited from LiteRGSS::ShaderedSprite
Attributes inherited from LiteRGSS::Sprite
#__index__, #angle, #bitmap, #height, #mirror, #opacity, #ox, #oy, #src_rect, #viewport, #visible, #width, #x, #y, #z, #zoom, #zoom_x, #zoom_y
Instance Method Summary collapse
-
#float_animation(index) ⇒ Yuki::AnimationMixin
Get the floating animation of the heart.
-
#initialize(viewport) ⇒ AudienceHeartSprite
constructor
Create a new Audience Heart Sprite.
Methods inherited from Sprite
#load, #mouse_in?, #set_origin_div, #set_rect, #set_rect_div, #set_z, #simple_mouse_in?, #translate_mouse_coords, #update
Methods inherited from LiteRGSS::Sprite
Methods inherited from LiteRGSS::Disposable
Constructor Details
#initialize(viewport) ⇒ AudienceHeartSprite
Create a new Audience Heart Sprite
639 640 |
# File 'docs/6_Contest_01_Scene.rb', line 639 def initialize() end |
Instance Method Details
#float_animation(index) ⇒ Yuki::AnimationMixin
Get the floating animation of the heart
644 645 |
# File 'docs/6_Contest_01_Scene.rb', line 644 def float_animation(index) end |