示例#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();
 }