예제 #1
0
 /// Constructor for objects of class Helper
 public HelpCommand(Dictionary<string, Response> responses,
               CommandMapper commandMapper)
 {
     this._responses = responses;
     this._commandMapper = commandMapper;
     CommandName = "help";
 }
예제 #2
0
파일: Game.cs 프로젝트: chernandez7/DnD
 /// Create the game.
 public Game()
 {
     _commandMapper = new CommandMapper(this);
     _playerArr = gameInit();
 }