public UIMediator(ICommandInvoker commandInvoker, IDogRacePalaceStadium dogRacePalaceStadium, IRacetrack racetrack, IBettingBank bettingBank) { _commandInvoker = commandInvoker; _dogRacePalaceStadium = dogRacePalaceStadium; _racetrack = racetrack; _bettingBank = bettingBank; }
public CommandPlaceBet(IBettingBank bettingBank, IDogRacePalaceStadium dogRacePalaceStadium, IRacetrack racetrack) { ActionCommand = ActionCommandEnum.PlaceBet; _bettingBank = bettingBank; _dogRacePalaceStadium = dogRacePalaceStadium; _racetrack = racetrack; }
public CommandDepositMoneyInGuyPocket(IDogRacePalaceStadium dogRacePalaceStadium, GuyNameEnum guyName, double depositAmount) { ActionCommand = ActionCommandEnum.DepositMoneyInGuyPocket; _dogRacePalaceStadium = dogRacePalaceStadium; _depositAmount = depositAmount; }
public CommandDepositMoneyInGuyPocket(IDogRacePalaceStadium dogRacePalaceStadium) { ActionCommand = ActionCommandEnum.DepositMoneyInGuyPocket; _dogRacePalaceStadium = dogRacePalaceStadium; }
public CommandNewGuyToPalaceStadium(IDogRacePalaceStadium dogRacePalaceStadium) { ActionCommand = ActionCommandEnum.NewGuyToPalaceStadium; _dogRacePalaceStadium = dogRacePalaceStadium; }