Sha256: 4b844e34cb33af0d98b495eea6098f6b5aa2df57b14c00d219be70bab7dcd201
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
require_relative "combatController" require_relative "../model/events" module AdventureController def eventDecider eventRNG = rand(1..10) case eventRNG when (1..8) ::CombatSim.start else ::Adventure.event end end module_function :eventDecider end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lotrd-0.1.9 | lib/lotrd/controller/adventureController.rb |
lotrd-0.1.8 | lib/lotrd/controller/adventureController.rb |