Class: GamePlay::Summary
- Inherits:
-
BaseCleanUpdate::FrameBalanced
- Object
- Base
- BaseCleanUpdate
- BaseCleanUpdate::FrameBalanced
- GamePlay::Summary
- Defined in:
- docs/4_Systems_102_Party.rb
Overview
Scene displaying the Summary of a Pokemon
Direct Known Subclasses
Constant Summary collapse
- LAST_STATE =
Returns Last state index in this scene.
4- KEYS =
Array of Key to press
[%i[DOWN LEFT RIGHT B], %i[DOWN LEFT RIGHT B], %i[A LEFT RIGHT B], %i[A LEFT RIGHT B], %i[A LEFT RIGHT B], %i[A LEFT RIGHT B], %i[A LEFT RIGHT B], %i[DOWN LEFT RIGHT B], %i[A LEFT RIGHT B], %i[A LEFT RIGHT B], %i[A LEFT RIGHT B]]
- TEXT_INDEXES =
Text base indexes in the file
[[112, 170, 114, 115], [112, 116, 113, 115], [117, 114, 169, 115], [118, nil, nil, 13], [119, nil, nil, 13], [nil, nil, nil, 13], [117, 113, 170, 115], [112, 113, 114, 115], [117, 114, 116, 115], [117, 169, 116, 115], [171, nil, nil, 13]]
- ACTIONS =
Actions to do on the button according to the actual ID state of the buttons
[%i[mouse_next mouse_left mouse_right mouse_quit], %i[mouse_next mouse_left mouse_right mouse_quit], %i[mouse_a mouse_left mouse_right mouse_quit], %i[mouse_a object_id object_id mouse_cancel], %i[mouse_a object_id object_id mouse_cancel], %i[object_id object_id object_id mouse_quit], %i[mouse_a mouse_left mouse_right mouse_quit], %i[mouse_next mouse_left mouse_right mouse_quit], %i[mouse_a mouse_left mouse_right mouse_quit], %i[mouse_a mouse_left mouse_right mouse_quit], %i[mouse_a mouse_left mouse_right mouse_cancel]]
- TRANSLATED_MOUSE_COORD_DETECTION =
List of the translated coordinates that gives a new move index
[[x02 = 8..21, y01 = 18..23], [x13 = 24..37, y01], [x02, y23 = 25..30], [x13, y23]]
Constants inherited from BaseCleanUpdate
BaseCleanUpdate::AIU_KEY2METHOD
Constants inherited from Base
Base::DEFAULT_TRANSITION, Base::DEFAULT_TRANSITION_PARAMETER
Constants included from Input
Input::ALIAS_KEYS, Input::AXIS_MAPPING, Input::AXIS_SENSITIVITY, Input::DEAD_ZONE, Input::Keyboard, Input::Keys, Input::NON_TRIGGER_ZONE, Input::REPEAT_COOLDOWN, Input::REPEAT_SPACE
Constants included from DisplayMessage
DisplayMessage::MESSAGE_ERROR, DisplayMessage::MESSAGE_PROCESS_ERROR
Instance Attribute Summary collapse
-
#skill_selected ⇒ Integer
Index of the choosen skill of the Pokemon.
Attributes inherited from Base
#__last_scene, #__result_process, #clock, #running, #viewport
Attributes included from DisplayMessage
Instance Method Summary collapse
-
#initialize(pokemon, mode = :view, party = [pokemon], extend_data = nil) ⇒ Summary
constructor
Create a new Summary Interface.
-
#update_graphics
Update the graphics.
-
#update_inputs
Update the input interactions.
-
#update_mouse(_moved)
Update the mouse.
Methods inherited from BaseCleanUpdate::FrameBalanced
Methods included from Graphics::FPSBalancer::Marker
Methods inherited from BaseCleanUpdate
#automatic_input_update, #update
Methods inherited from Base
#add_disposable, #call_scene, #dispose, #find_parent, #main, #return_to_scene, #snap_to_bitmap, #update, #visible, #visible=
Methods included from Input
clear, close_virtual_keyboard, dir4, dir8, get_text, joy_axis_position, load_touch_screen, open_virtual_keyboard, press?, register_events, released?, repeat?, swap_states, trigger?
Methods included from DisplayMessage
#can_display_message_be_called?, #close_message_window, #display_message, #display_message_and_wait, #message_class, #message_processing?, #message_visible, #message_visible=
Constructor Details
#initialize(pokemon, mode = :view, party = [pokemon], extend_data = nil) ⇒ Summary
Create a new Summary Interface
981 982 |
# File 'docs/4_Systems_102_Party.rb', line 981 def initialize(pokemon, mode = :view, party = [pokemon], extend_data = nil) end |
Instance Attribute Details
#skill_selected ⇒ Integer
Returns Index of the choosen skill of the Pokemon.
975 976 977 |
# File 'docs/4_Systems_102_Party.rb', line 975 def skill_selected @skill_selected end |
Instance Method Details
#update_graphics
Update the graphics
1030 1031 |
# File 'docs/4_Systems_102_Party.rb', line 1030 def update_graphics end |
#update_inputs
Update the input interactions
1027 1028 |
# File 'docs/4_Systems_102_Party.rb', line 1027 def update_inputs end |
#update_mouse(_moved)
Update the mouse
1034 1035 |
# File 'docs/4_Systems_102_Party.rb', line 1034 def update_mouse(_moved) end |