Sha256: 310747deeb4880a875968a9ae7819346e795d6708924fac0b2f76bf90296c98c

Contents?: true

Size: 627 Bytes

Versions: 2

Compression:

Stored size: 627 Bytes

Contents

require_relative '../model/mob'
require_relative '../controller/combatController'
require_relative '../controller/adventureController'
require_relative '../model/events'
require_relative '../view/town'

module Adventure
    def start
        system 'clear'
		puts "Adventure" + "\n" + "=" * 40 + "\n"*2
        puts "You walk through the woods and hear a rustling sound ahead..."
        sleep(3)
        ::AdventureController.eventDecider
    end

    def event
        puts "#{::Events.adventure}"
        sleep(3)
        ::Town.menu
    end
    module_function :start,
                    :event
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lotrd-0.1.9 lib/lotrd/view/adventure.rb
lotrd-0.1.8 lib/lotrd/view/adventure.rb