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.
2
- 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]
- TEXT_INDEXES =
Text base indexes in the file
[[112, 113, 114, 115], [112, 116, 113, 115], [117, 114, 116, 115], [118, nil, nil, 13], [119, nil, nil, 13], [nil, 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]
- 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, #running, #viewport
Attributes included from DisplayMessage
Instance Method Summary collapse
-
#initialize(pokemon, mode = :view, party = [pokemon], extend_data = nil) ⇒ Summary
constructor
Create a new sumarry 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
dir4, dir8, get_text, joy_axis_position, 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 sumarry Interface
734 735 |
# File 'docs/4_Systems_102_Party.rb', line 734 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.
728 729 730 |
# File 'docs/4_Systems_102_Party.rb', line 728 def skill_selected @skill_selected end |
Instance Method Details
#update_graphics
Update the graphics
774 775 |
# File 'docs/4_Systems_102_Party.rb', line 774 def update_graphics end |
#update_inputs
Update the input interactions
771 772 |
# File 'docs/4_Systems_102_Party.rb', line 771 def update_inputs end |
#update_mouse(_moved)
Update the mouse
778 779 |
# File 'docs/4_Systems_102_Party.rb', line 778 def update_mouse(_moved) end |