module Adventure
Public Class Methods
event()
click to toggle source
# File lib/lotrd/view/adventure.rb, line 16 def event puts "#{::Events.adventure}" sleep(3) ::Town.menu end
start()
click to toggle source
# File lib/lotrd/view/adventure.rb, line 8 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
Private Instance Methods
event()
click to toggle source
# File lib/lotrd/view/adventure.rb, line 16 def event puts "#{::Events.adventure}" sleep(3) ::Town.menu end
start()
click to toggle source
# File lib/lotrd/view/adventure.rb, line 8 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