Class: UI::ContestCreatureSprite
- Inherits:
-
BattleUI::PokemonSprite
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ShaderedSprite
- BattleUI::PokemonSprite
- UI::ContestCreatureSprite
- Defined in:
- docs/6_Contest_01_Scene.rb
Overview
Sprite of a Creature in a contest
Direct Known Subclasses
Constant Summary
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
-
#center_camera(use_position: true)
Move the camera to the contestant sprite, here to make Move animations work.
-
#cry
Play the cry of the Creature.
-
#pokemon=(pokemon)
Set the pokemon displayed by the sprite.
Methods inherited from BattleUI::PokemonSprite
#bitmap=, #change_stat_animation, #create_animation, #done?, #flee_animation, #initialize, #opacity=, #remove_tone_animation, #reset_tone_status, #set_origin, #set_position, #set_tone_status, #set_tone_to, #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
#initialize, #set_origin, #set_position
Methods inherited from LiteRGSS::Disposable
Constructor Details
This class inherits a constructor from BattleUI::PokemonSprite
Instance Method Details
#center_camera(use_position: true)
can't send resolved parameter through Visual so PokemonSprite is used as an intermediary
Move the camera to the contestant sprite, here to make Move animations work
136 137 |
# File 'docs/6_Contest_01_Scene.rb', line 136 def center_camera(use_position: true) end |
#cry
Play the cry of the Creature
131 132 |
# File 'docs/6_Contest_01_Scene.rb', line 131 def cry end |
#pokemon=(pokemon)
Set the pokemon displayed by the sprite
128 129 |
# File 'docs/6_Contest_01_Scene.rb', line 128 def pokemon=(pokemon) end |