Sha256: 36059a9e42b134a9b26d479326774f0fc2197870376b719cfa4bd8000ed1cc81

Contents?: true

Size: 328 Bytes

Versions: 8

Compression:

Stored size: 328 Bytes

Contents

module Gamefic
  # Pause for user input.
  #
  class Scene::Pause < Scene::Base
    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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gamefic-2.4.0 lib/gamefic/scene/pause.rb
gamefic-2.3.0 lib/gamefic/scene/pause.rb
gamefic-2.2.3 lib/gamefic/scene/pause.rb
gamefic-2.2.2 lib/gamefic/scene/pause.rb
gamefic-2.2.1 lib/gamefic/scene/pause.rb
gamefic-2.2.0 lib/gamefic/scene/pause.rb
gamefic-2.1.1 lib/gamefic/scene/pause.rb
gamefic-2.1.0 lib/gamefic/scene/pause.rb