Class: BattleUI::TrainerSprite3D
- Inherits:
-
TrainerSprite
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ShaderedSprite
- TrainerSprite
- BattleUI::TrainerSprite3D
- Defined in:
- docs/5_Battle_01_Scene.rb
Overview
Sprite of a Trainer in the battle when BATTLE_CAMERA_3D is set to true
Constant Summary
Constants inherited from TrainerSprite
BattleUI::TrainerSprite::BACK_FRAME_COUNT, BattleUI::TrainerSprite::DYNAMIC_BACKSPRITES, BattleUI::TrainerSprite::FADE_AWAY_PIXEL_COUNT
Instance Attribute Summary
Attributes inherited from TrainerSprite
#animation_handler, #bank, #position, #scene
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
-
#base_position_v1 ⇒ Array(Integer, Integer)
Get the base position of the Trainer in 1v1.
-
#base_position_v2 ⇒ Array(Integer, Integer)
Get the base position of the Trainer in 2v2.
-
#offset_position_v2 ⇒ Array(Integer, Integer)
Get the offset position of the Pokemon in 2v2+.
Methods inherited from TrainerSprite
#done?, #initialize, #send_ball_animation, #show_next_frame, #show_previous_frame, #update
Methods included from MultiplePosition
Methods included from 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
new, #set_origin, #set_position
Methods inherited from LiteRGSS::Disposable
Constructor Details
This class inherits a constructor from BattleUI::TrainerSprite
Instance Method Details
#base_position_v1 ⇒ Array(Integer, Integer)
Get the base position of the Trainer in 1v1
1849 1850 |
# File 'docs/5_Battle_01_Scene.rb', line 1849 def base_position_v1 end |
#base_position_v2 ⇒ Array(Integer, Integer)
Get the base position of the Trainer in 2v2
1853 1854 |
# File 'docs/5_Battle_01_Scene.rb', line 1853 def base_position_v2 end |
#offset_position_v2 ⇒ Array(Integer, Integer)
Get the offset position of the Pokemon in 2v2+
1857 1858 |
# File 'docs/5_Battle_01_Scene.rb', line 1857 def offset_position_v2 end |