Class: CARPS::Player::Wizard

Inherits:
Wizard
  • Object
show all
Defined in:
lib/carps/wizard/player.rb

Overview

A wizard for configuring the player

Instance Method Summary collapse

Constructor Details

#initializeWizard

Returns a new instance of Wizard.



29
30
31
32
33
34
# File 'lib/carps/wizard/player.rb', line 29

def initialize
   files = ["../mods.yaml", "email.yaml", "process.yaml", "editor.yaml"]
   dirs = ["games", ".peers", ".mail"]
   super files, dirs
   set_steps Setup::Editor.new, Setup::Process.new, Setup::Email.new
end