Class: CARPS::DM::NewGameInterface
- Inherits:
-
Interface
- Object
- Interface
- QuitInterface
- RolePlayInterface
- Interface
- CARPS::DM::NewGameInterface
- Defined in:
- lib/carps/service/dm/new_game.rb
Overview
Interface for creating new games
Instance Method Summary collapse
-
#initialize(cont, manager, config, mailer) ⇒ NewGameInterface
constructor
Create a new NewGameInterface from a continuation.
Methods inherited from RolePlayInterface
Methods inherited from Interface
Constructor Details
#initialize(cont, manager, config, mailer) ⇒ NewGameInterface
Create a new NewGameInterface from a continuation
30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/carps/service/dm/new_game.rb', line 30 def initialize cont, manager, config, mailer super() @manager = manager @game_config = config @continuation = cont @mailer = mailer add_command :go, "Start the game." add_command :describe, "Describe the game." add_command :name, "Give the game a name.", "NAME" add_command :mod, "Choose the mod.\n#{ load_mods.keys}", "MOD" add_command :campaign, "Choose the campaign.", "CAMPAIGN" end |