Module: Fools::DM

Defined in:
lib/fools/dm/mod.rb,
lib/fools/dm/launch.rb,
lib/fools/dm/interface.rb

Defined Under Namespace

Classes: Interface, Mod

Class Method Summary collapse

Class Method Details

.create_mod(campaign) ⇒ Object

Create the mod



27
28
29
30
# File 'lib/fools/dm/launch.rb', line 27

def DM::create_mod campaign
   resource = CARPS::Resource.new "fools/#{campaign}" 
   Mod.new resource
end

.launch(mod) ⇒ Object

Launch the game



33
34
35
36
# File 'lib/fools/dm/launch.rb', line 33

def DM::launch mod
   face = Interface.new mod
   face.run
end