Class: UI::Storage::PokemonItemIcon
- Inherits:
-
ItemSprite
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ItemSprite
- UI::Storage::PokemonItemIcon
- Defined in:
- docs/4_Systems_200_Storage.rb
Overview
Icon of a held item in the storage UI
Instance Attribute Summary
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
-
#data=(box)
Set the box data.
-
#initialize(viewport, index) ⇒ PokemonItemIcon
constructor
A new instance of PokemonItemIcon.
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
#initialize(viewport, index) ⇒ PokemonItemIcon
Returns a new instance of PokemonItemIcon.
784 785 |
# File 'docs/4_Systems_200_Storage.rb', line 784 def initialize(, index) end |
Instance Method Details
#data=(box)
Set the box data
788 789 |
# File 'docs/4_Systems_200_Storage.rb', line 788 def data=(box) end |