Class: BattleUI::TrainerSprite3D

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

#blendmode, #shader

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

Methods inherited from TrainerSprite

#done?, #initialize, #send_ball_animation, #show_next_frame, #show_previous_frame, #update

Methods included from MultiplePosition

#enemy?

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

#dispose, #disposed?

Constructor Details

This class inherits a constructor from BattleUI::TrainerSprite

Instance Method Details

#base_position_v1Array(Integer, Integer)

Get the base position of the Trainer in 1v1

Returns:

  • (Array(Integer, Integer))


1849
1850
# File 'docs/5_Battle_01_Scene.rb', line 1849

def base_position_v1
end

#base_position_v2Array(Integer, Integer)

Get the base position of the Trainer in 2v2

Returns:

  • (Array(Integer, Integer))


1853
1854
# File 'docs/5_Battle_01_Scene.rb', line 1853

def base_position_v2
end

#offset_position_v2Array(Integer, Integer)

Get the offset position of the Pokemon in 2v2+

Returns:

  • (Array(Integer, Integer))


1857
1858
# File 'docs/5_Battle_01_Scene.rb', line 1857

def offset_position_v2
end