Module: Fools::Player

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

Defined Under Namespace

Classes: Interface, Mod

Class Method Summary collapse

Class Method Details

.create_modObject

Create the mod



25
26
27
# File 'lib/fools/player/launch.rb', line 25

def Player::create_mod
   Mod.new
end

.launch(mod) ⇒ Object

Launch the Player’s interface



30
31
32
33
# File 'lib/fools/player/launch.rb', line 30

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