Class: UI::DexWinMap
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::DexWinMap
- Defined in:
- docs/4_Systems_101_Dex.rb
Overview
Dex sprite that show the Pokemon location
Constant Summary
Constants inherited from SpriteStack
Instance Attribute Summary
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#data=(pokemon)
Change the data and the state.
-
#initialize(viewport, display_controls = true) ⇒ DexWinMap
constructor
Create a new dex win sprite.
-
#set_location(place, color = 10)
Set the location name.
-
#set_region(place, color = 10)
Set the region name.
Methods inherited from SpriteStack
#[], #add_background, #add_line, #add_text, #anime, #anime_delta_set, #dispose, #each, #execute_anime, #move, #move_to, #opacity, #opacity=, #push, #push_sprite, #set_origin, #set_position, #simple_mouse_in?, #size, #stop_animation, #translate_mouse_coords, #update, #update_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport, display_controls = true) ⇒ DexWinMap
Create a new dex win sprite
253 254 |
# File 'docs/4_Systems_101_Dex.rb', line 253 def initialize(, display_controls = true) end |
Instance Method Details
#data=(pokemon)
Change the data and the state
257 258 |
# File 'docs/4_Systems_101_Dex.rb', line 257 def data=(pokemon) end |
#set_location(place, color = 10)
Set the location name
262 263 |
# File 'docs/4_Systems_101_Dex.rb', line 262 def set_location(place, color = 10) end |
#set_region(place, color = 10)
Set the region name
267 268 |
# File 'docs/4_Systems_101_Dex.rb', line 267 def set_region(place, color = 10) end |