public CreateBattleArenaCommandParser(IGameConfiguration currentGameConfiguration, IBattleArenaFactory battleArenaFactory)
     : base(currentGameConfiguration, regexPattern)
 {
     _battleArenaFactory = battleArenaFactory;
 }
 public void Initialise()
 {
     _currentGame = new Game(null);
     _battleArenaFactory = new BattleArenaFactory();
     _commandParser = new CreateBattleArenaCommandParser(_currentGame, _battleArenaFactory);
 }
Exemplo n.º 3
0
 public void Initialise()
 {
     _battleArenaFactory = new BattleArenaFactory();
 }