Class: GamePlay::Menu
- Inherits:
-
BaseCleanUpdate::FrameBalanced
- Object
- Base
- BaseCleanUpdate
- BaseCleanUpdate::FrameBalanced
- GamePlay::Menu
- Includes:
- MenuMixin
- Defined in:
- docs/01450_Systems_00100_Menu.rb
Overview
Main menu UI
Rewritten thanks to Jaizu demand
Constant Summary collapse
- ACTION_LIST =
List of action according to the “image_index” to call
%i[open_dex open_party open_bag open_tcard open_option open_save open_quit]
- ENTERING_ANIMATION_OFFSET =
Entering - leaving animation offset
150
- ENTERING_ANIMATION_DURATION =
Entering - leaving animation duration
15
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
Attributes included from MenuMixin
Attributes inherited from Base
#__last_scene, #__result_process, #running, #viewport
Attributes included from DisplayMessage
Instance Method Summary collapse
-
#create_graphics
Create all the graphics.
-
#initialize ⇒ Menu
constructor
Create a new menu.
-
#main_end
End of the scene.
-
#update_graphics
Update the graphics.
-
#update_inputs ⇒ Boolean
Update the input interaction.
-
#update_mouse(moved) ⇒ Boolean
Update the mouse interaction.
-
#visible=(value)
Overload the visible= to allow save to keep the curren background.
Methods included from MenuMixin
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
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 ⇒ Menu
Create a new menu
53 54 |
# File 'docs/01450_Systems_00100_Menu.rb', line 53 def initialize end |
Instance Method Details
#create_graphics
Create all the graphics
56 57 |
# File 'docs/01450_Systems_00100_Menu.rb', line 56 def create_graphics end |
#main_end
End of the scene
59 60 |
# File 'docs/01450_Systems_00100_Menu.rb', line 59 def main_end end |
#update_graphics
Update the graphics
71 72 |
# File 'docs/01450_Systems_00100_Menu.rb', line 71 def update_graphics end |
#update_inputs ⇒ Boolean
Update the input interaction
63 64 |
# File 'docs/01450_Systems_00100_Menu.rb', line 63 def update_inputs end |
#update_mouse(moved) ⇒ Boolean
Update the mouse interaction
68 69 |
# File 'docs/01450_Systems_00100_Menu.rb', line 68 def update_mouse(moved) end |
#visible=(value)
Overload the visible= to allow save to keep the curren background
75 76 |
# File 'docs/01450_Systems_00100_Menu.rb', line 75 def visible=(value) end |