Class: GamePlay::Dex
- Inherits:
-
BaseCleanUpdate::FrameBalanced
- Object
- Base
- BaseCleanUpdate
- BaseCleanUpdate::FrameBalanced
- GamePlay::Dex
- Includes:
- UI
- Defined in:
- docs/4_Systems_101_Dex.rb
Overview
Class that shows the Pokedex
Constant Summary collapse
- NAME_FORMAT =
Text format for the name
'%03d - %s'
- ACTIONS =
Array of actions to do according to the pressed button
%i[action_A action_X action_Y action_B]
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
GamePlay::DisplayMessage::MESSAGE_ERROR, GamePlay::DisplayMessage::MESSAGE_PROCESS_ERROR
Instance Attribute Summary
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(page_id = false) ⇒ Dex
constructor
Create a new Pokedex interface.
-
#update_graphics
Update all the graphics.
-
#update_inputs
Update the UI inputs.
-
#update_mouse(_moved = false)
Update the mouse interaction with the ctrl buttons.
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(page_id = false) ⇒ Dex
Create a new Pokedex interface
290 291 |
# File 'docs/4_Systems_101_Dex.rb', line 290 def initialize(page_id = false) end |
Instance Method Details
#create_graphics
Create all the graphics
361 362 |
# File 'docs/4_Systems_101_Dex.rb', line 361 def create_graphics end |
#update_graphics
Update all the graphics
364 365 |
# File 'docs/4_Systems_101_Dex.rb', line 364 def update_graphics end |
#update_inputs
Update the UI inputs
293 294 |
# File 'docs/4_Systems_101_Dex.rb', line 293 def update_inputs end |
#update_mouse(_moved = false)
Update the mouse interaction with the ctrl buttons
297 298 |
# File 'docs/4_Systems_101_Dex.rb', line 297 def update_mouse(_moved = false) end |