Class: GamePlay::RSEClock
- Includes:
- GamePlay::RSEClockHelpers::Logic, GamePlay::RSEClockHelpers::Questions, GamePlay::RSEClockHelpers::UI
- Defined in:
- docs/4_Systems_400_RSE_Clock.rb
Overview
Scene asking the player to provide the time
How to use:
- Set time with no initial time
call_scene(GamePlay::RSEClock) { |scene| @time = "#scenescene.hour:#scenescene.minute"} 2. Set time with initial time call_scene(GamePlay::RSEClock, hour, minute) { |scene| @time = "#scenescene.hour:#scenescene.minute"}
Constant Summary collapse
- STATE_UPDATE_METHODS =
Constant holding all the update method to call depending on the state
{init: :update_init, choice: :update_choice, inc_min: :update_inc_min, dec_min: :update_dec_min, wait: :update_wait, confirmation: :update_confirmation, out: :update_out}