Class: UI::MoveTeaching::SkillDescription

Inherits:
SpriteStack show all
Defined in:
docs/01450_Systems_00301_MoveTeaching.rb

Overview

UI part displaying the Skill description in the Skill Learn scene

Constant Summary

Constants inherited from SpriteStack

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary

Attributes inherited from SpriteStack

#animated, #data, #moving, #stack, #viewport, #x, #y

Instance Method Summary collapse

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, #with_cache, #with_font, #with_surface, #z, #z=

Constructor Details

#initialize(viewport) ⇒ SkillDescription

Create informations of the hovered skill

Parameters:



60
61
# File 'docs/01450_Systems_00301_MoveTeaching.rb', line 60

def initialize(viewport)
end

Instance Method Details

#data=(skill)

Set the data of the UI

Parameters:



64
65
# File 'docs/01450_Systems_00301_MoveTeaching.rb', line 64

def data=(skill)
end

#visible=(value)

Set the visibility of the UI

Parameters:

  • value (Boolean)

    new visibility



68
69
# File 'docs/01450_Systems_00301_MoveTeaching.rb', line 68

def visible=(value)
end