Class: CARPS::DM::StartInterface

Inherits:
StartGameInterface show all
Defined in:
lib/carps/service/dm/start.rb

Overview

Interface for the dm to start games

Instance Method Summary collapse

Methods inherited from StartGameInterface

start_game_interface

Methods included from ControlInterface

#quit

Methods inherited from Interface

#run

Constructor Details

#initialize(continuation, mailer, game_config, manager) ⇒ StartInterface

Returns a new instance of StartInterface.



31
32
33
34
# File 'lib/carps/service/dm/start.rb', line 31

def initialize continuation, mailer, game_config, manager 
   super
   add_command :new, "Start a new game."
end