Class: CARPS::Player::StartInterface

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

Overview

Interface for the player to join 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/player/start.rb', line 31

def initialize continuation, mailer, game_config, manager
   super
   add_command "mail", "Check for mail."
end