Class: BattleUI::InfoBar::Background

Inherits:
ShaderedSprite show all
Defined in:
docs/01600_Alpha_25_Battle_Engine_00001_Battle_Scene.rb

Overview

Class showing the right background depending on the pokemon

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?

Instance Method Details

#background_filename(pokemon) ⇒ String

Name of the background based on the creature shown

Parameters:

Returns:



829
830
# File 'docs/01600_Alpha_25_Battle_Engine_00001_Battle_Scene.rb', line 829

def background_filename(pokemon)
end

#data=(pokemon)

Set the Pokemon Data

Parameters:



824
825
# File 'docs/01600_Alpha_25_Battle_Engine_00001_Battle_Scene.rb', line 824

def data=(pokemon)
end