lib/gamefic/scene/pause.rb in gamefic-1.7.0 vs lib/gamefic/scene/pause.rb in gamefic-2.0.0

- old
+ new

@@ -1,12 +1,17 @@ module Gamefic - # Pause for user input. # class Scene::Pause < Scene::Custom def post_initialize self.type = 'Pause' self.prompt = 'Press enter to continue...' end + + class << self + def tracked? + @tracked = true if @tracked.nil? + @tracked + end + end end - end