예제 #1
0
 public TownController(GameWorld gameWorld, ISaveGameRepository saveGameRepository, IAsciiArtRepository asciiArtRepository, IDice dice)
 {
     _gameWorld = gameWorld;
     _saveGameRepository = saveGameRepository;
     _asciiArtRepository = asciiArtRepository;
     _dice = dice;
 }
예제 #2
0
 public NewGameController(ISaveGameRepository saveGameRepository, IAsciiArtRepository asciiArtRepository, IStatsGenerator statsGenerator, GameWorld gameWorld)
 {
     _saveGameRepository = saveGameRepository;
     _asciiArtRepository = asciiArtRepository;
     _statsGenerator = statsGenerator;
     _gameWorld = gameWorld;
 }
예제 #3
0
 public DungeonController(GameWorld gameWorld, IDice dice, IWeaponFactory weaponFactory, IAsciiArtRepository asciiArtRepository)
 {
     _gameWorld = gameWorld;
     _dice = dice;
     _weaponFactory = weaponFactory;
     _asciiArtRepository = asciiArtRepository;
 }
예제 #4
0
 public CombatController(GameWorld gameWorld, ICombatEngine combatEngine, IAsciiArtRepository asciiArtRepository)
 {
     _gameWorld = gameWorld;
     _combatEngine = combatEngine;
     _combatSteps = _combatEngine.GetSteps().GetEnumerator();
     _asciiArtRepository = asciiArtRepository;
 }
예제 #5
0
 public InnController(GameWorld gameWorld, ISaveGameRepository saveGameRepository, IAsciiArtRepository asciiArtRepository, IDice dice)
 {
     _gameWorld = gameWorld;
     _saveGameRepository = saveGameRepository;
     _asciiArtRepository = asciiArtRepository;
     _dice = dice;
     _title = "Welcome to the Tolbooth Tavern. The food ain't great and the beds aren't soft. But it's the only Inn in town.";
 }
예제 #6
0
 public SpellBookController(GameWorld gameWorld, IAsciiArtRepository asciiArtRepository, IDice dice)
 {
     _gameWorld = gameWorld;
     _asciiArtRepository = asciiArtRepository;
     _dice = dice;
     _title = DefaultTitle;
     _information = DefaultInformation;
 }
예제 #7
0
 public LoadGameController(ISaveGameRepository saveGameRepository, IAsciiArtRepository asciiArtRepository, GameWorld gameWorld)
 {
     _saveGameRepository = saveGameRepository;
     _asciiArtRepository = asciiArtRepository;
     _gameWorld = gameWorld;
 }
 public GameLaunchedController(IAsciiArtRepository asciiArtRepository)
 {
     _asciiArtRepository = asciiArtRepository;
 }