Class: Gamefic::Scene::Pause

Inherits:
Custom show all
Defined in:
lib/gamefic/scene/pause.rb

Overview

Pause for user input.

Instance Method Summary collapse

Methods inherited from Custom

#data_class, #finish, #initialize, #on_finish, #on_start, #prompt_for

Methods inherited from Base

#finish, #prompt_for, #type

Constructor Details

This class inherits a constructor from Gamefic::Scene::Custom

Instance Method Details

#start(actor) ⇒ Object



6
7
8
9
10
# File 'lib/gamefic/scene/pause.rb', line 6

def start actor
  data = start_data_for(actor)
  data.prompt = 'Press enter to continue...'
  do_start_block actor, data
end