Class: UI::PokemonIconSprite
- Inherits:
-
SpriteSheet
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ShaderedSprite
- SpriteSheet
- UI::PokemonIconSprite
- Defined in:
- docs/4_Systems_000_General_4_UI_Generics.rb
Overview
Class that show the icon sprite of a Pokemon
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from SpriteSheet
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=(pokemon)
Set the pokemon.
-
#initialize(viewport, auto_align = true) ⇒ PokemonIconSprite
constructor
Create a new Pokemon FaceSprite.
-
#update
Update the pokemon animation.
Methods inherited from SpriteSheet
Methods inherited from Sprite
#load, #mouse_in?, #set_origin_div, #set_rect, #set_rect_div, #set_z, #simple_mouse_in?, #translate_mouse_coords
Methods inherited from LiteRGSS::Sprite
new, #set_origin, #set_position
Methods inherited from LiteRGSS::Disposable
Constructor Details
#initialize(viewport, auto_align = true) ⇒ PokemonIconSprite
Create a new Pokemon FaceSprite
700 701 |
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 700 def initialize(, auto_align = true) end |
Instance Method Details
#data=(pokemon)
Set the pokemon
704 705 |
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 704 def data=(pokemon) end |
#update
Update the pokemon animation
707 708 |
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 707 def update end |