lib/gamefic/scene/pause.rb in gamefic-1.5.1 vs lib/gamefic/scene/pause.rb in gamefic-1.6.0
- old
+ new
@@ -1,13 +1,12 @@
module Gamefic
# Pause for user input.
#
class Scene::Pause < Scene::Custom
- def start actor
- data = start_data_for(actor)
- data.prompt = 'Press enter to continue...'
- do_start_block actor, data
+ def post_initialize
+ self.type = 'Pause'
+ self.prompt = 'Press enter to continue...'
end
end
end