Class: BattleUI::TrainerPartyBalls::BallSprite

Inherits:
Sprite show all
Defined in:
docs/5_Battle_01_Scene.rb

Overview

Class showing a ball in the TrainerPartyBalls UI

Instance Attribute Summary

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 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

#initialize(viewport, index) ⇒ BallSprite

Create a new ball

Parameters:



927
928
# File 'docs/5_Battle_01_Scene.rb', line 927

def initialize(viewport, index)
end

Instance Method Details

#data=(party)

Update the data

Parameters:



931
932
# File 'docs/5_Battle_01_Scene.rb', line 931

def data=(party)
end

#image_filename(pokemon)

Get the filename of the image to show as ball sprite

Parameters:



935
936
# File 'docs/5_Battle_01_Scene.rb', line 935

def image_filename(pokemon)
end