Class: GamePlay::Load

Inherits:
BaseCleanUpdate show all
Defined in:
docs/4_Systems_106_Save_Load.rb

Overview

Load game scene

Direct Known Subclasses

Save

Constant Summary collapse

ACTIONS =

CTRL button actions

%i[action_a action_a action_a 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

DisplayMessage::MESSAGE_ERROR, DisplayMessage::MESSAGE_PROCESS_ERROR

Instance Attribute Summary

Attributes inherited from Base

#__last_scene, #__result_process, #running, #viewport

Attributes included from DisplayMessage

#message_window

Instance Method Summary collapse

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

#initializeLoad

Create a new GamePlay::Load scene



128
129
# File 'docs/4_Systems_106_Save_Load.rb', line 128

def initialize
end

Instance Method Details

#create_new_game

Create a new game and start it



180
181
# File 'docs/4_Systems_106_Save_Load.rb', line 180

def create_new_game
end

#should_make_new_game?Boolean

Tell if the Title should automatically create a new game instead

Returns:

  • (Boolean)


135
136
# File 'docs/4_Systems_106_Save_Load.rb', line 135

def should_make_new_game?
end

#update_graphics

Update the load scene graphics



131
132
# File 'docs/4_Systems_106_Save_Load.rb', line 131

def update_graphics
end

#update_inputs

Update the load scene inputs



162
163
# File 'docs/4_Systems_106_Save_Load.rb', line 162

def update_inputs
end

#update_mouse

Update the load scene mouse interactions



165
166
# File 'docs/4_Systems_106_Save_Load.rb', line 165

def update_mouse(*)
end