Class: UI::ContestTargetSprite
- Inherits:
-
ContestCreatureSprite
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ShaderedSprite
- BattleUI::PokemonSprite
- ContestCreatureSprite
- UI::ContestTargetSprite
- Defined in:
- docs/6_Contest_01_Scene.rb
Overview
Class used to make the Move animations work with the contests, by default it is an invisible target
Constant Summary collapse
- CONTEST_TARGET =
Target sprite for contests, invisible by default
'contest/target'
Constants inherited from BattleUI::PokemonSprite
BattleUI::PokemonSprite::DELTA_DEATH_Y, BattleUI::PokemonSprite::STATUS_SE, BattleUI::PokemonSprite::STATUS_TONE
Instance Attribute Summary
Attributes inherited from BattleUI::PokemonSprite
#animation_handler, #animation_tone, #bank, #pokemon, #position, #scene, #selected, #stop_gif_animation, #stop_status_tone, #temporary_substitute_overwrite
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
-
#cry
No cry for the target.
-
#initialize(viewport, scene) ⇒ ContestTargetSprite
constructor
Create a new Contest Target Sprite.
-
#remove_tone_animation
No tone for target.
-
#reset_tone_status
No tone for target.
-
#set_tone_to(_red, _green, _blue, _alpha)
No tone for target.
Methods inherited from ContestCreatureSprite
Methods inherited from BattleUI::PokemonSprite
#bitmap=, #center_camera, #change_stat_animation, #create_animation, #done?, #flee_animation, #opacity=, #set_origin, #set_position, #set_tone_status, #shiny_animation, #sprite_zoom, #sprite_zoom_battle_animation, #status_animation, #substitute_animations_speed, #switch_from_substitute_animation, #switch_to_substitute_animation, #switch_to_substitute_sprite, #under_substitute_effect?, #update, #visible=, #x=, #y=, #zoom=, #zoom_x=, #zoom_y=
Methods included from Shader::CreatureShaderLoader
#find_shader_id, #load_shader, #load_shader_properties
Methods included from BattleUI::MultiplePosition
Methods included from BattleUI::GoingInOut
#animation_handler, #go_in, #go_out, #in?, #out?
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, scene) ⇒ ContestTargetSprite
Create a new Contest Target Sprite
175 176 |
# File 'docs/6_Contest_01_Scene.rb', line 175 def initialize(, scene) end |
Instance Method Details
#cry
No cry for the target
178 179 |
# File 'docs/6_Contest_01_Scene.rb', line 178 def cry end |
#remove_tone_animation
No tone for target
191 192 |
# File 'docs/6_Contest_01_Scene.rb', line 191 def remove_tone_animation end |
#reset_tone_status
No tone for target
188 189 |
# File 'docs/6_Contest_01_Scene.rb', line 188 def reset_tone_status end |
#set_tone_to(_red, _green, _blue, _alpha)
No tone for target
185 186 |
# File 'docs/6_Contest_01_Scene.rb', line 185 def set_tone_to(_red, _green, _blue, _alpha) end |