Class: UI::Remind_Skill

Inherits:
Summary_Skill show all
Defined in:
scripts/01450 Systems/00102 Party/00002 UI/00500 Summary_Remind.rb

Overview

UI part displaying a Skill in the Summary_Remind UI

Constant Summary

Constants inherited from Summary_Skill

Summary_Skill::FINAL_COORDINATES, Summary_Skill::NO_SELECT_COLOR, Summary_Skill::SELECTED_COLOR

Constants inherited from SpriteStack

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary

Attributes inherited from Summary_Skill

#moving, #selected

Attributes inherited from SpriteStack

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

Instance Method Summary collapse

Methods inherited from Summary_Skill

#data=, #visible, #visible=

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, index) ⇒ Remind_Skill

Create a new skill

Parameters:



164
165
166
167
168
169
170
171
# File 'scripts/01450 Systems/00102 Party/00002 UI/00500 Summary_Remind.rb', line 164

def initialize(viewport, index)
  super
  set_position(12, 42 + index * 32)
  @selector.x += 6
  @stack[1].y += 15
  @stack[2].x -= 32
  @stack[4].width = 60
end