Class: UI::Hall_of_Fame::Trainer_Infos_Text_Box

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

Overview

Class that define the Trainer Infos text box stack

Constant Summary collapse

Y_FINAL =

Final Y coordinate

202
WHITE_COLOR =

White color

Color.new(255, 255, 255, 255)

Constants inherited from SpriteStack

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary collapse

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

Constructor Details

#initialize(viewport) ⇒ Trainer_Infos_Text_Box

Initialize the SpriteStack

Parameters:



352
353
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 352

def initialize(viewport)
end

Instance Attribute Details

#id_noText

The id_no text

Returns:



342
343
344
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 342

def id_no
  @id_no
end

#nameText

The name text

Returns:



339
340
341
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 339

def name
  @name
end

#play_timeText

The play_time text

Returns:



345
346
347
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 345

def play_time
  @play_time
end

Instance Method Details

#box_filenameString

The base filename of the window

Returns:



360
361
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 360

def box_filename
end

#id_no_coordinatesArray<Integer>

The base coordinates of the id_no text

Returns:

  • (Array<Integer>)

    the coordinates



372
373
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 372

def id_no_coordinates
end

#initial_coordinatesArray<Integer>

The SpriteStack initial coordinates

Returns:

  • (Array<Integer>)

    the coordinates



356
357
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 356

def initial_coordinates
end

#name_coordinatesArray<Integer>

The base coordinates of the name text

Returns:

  • (Array<Integer>)

    the coordinates



368
369
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 368

def name_coordinates
end

#play_time_coordinatesArray<Integer>

The base coordinates of the play_time text

Returns:

  • (Array<Integer>)

    the coordinates



376
377
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 376

def play_time_coordinates
end

#y_finalInteger

Get the constant’s value

Returns:

  • (Integer)


364
365
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 364

def y_final
end