/// <summary> /// Allows the game component to update itself. /// </summary> /// <param name="gameTime">Provides a snapshot of timing values.</param> public override void Update(GameTime gameTime) { if(roundMgr == null) roundMgr = (IRoundManager)Game.Services.GetService(typeof(IRoundManager)); base.Update(gameTime); }
public GameEngine(ICardsDealer cardsDealer, ITrickManager trickManager, IRoundManager roundManager, IStatesManager statesManager) { this.cardsDealer = cardsDealer; this.trickManager = trickManager; this.roundManager = roundManager; this.statesManager = statesManager; }
public PlayerManager(IRoundRespository repository, IHcpRule rule, IPointsCalulation pointsCalulation, IRoundManager roundManager, ISeriesManager seriesManager) { RoundRespository = repository; Rule = rule; PointCalc = pointsCalulation; RoundManager = roundManager; SeriesManager = seriesManager; }
public RoundController(IAccountManager accountManager, IRoundManager roundManager, IGameManager gameManager, IRoundQuestionManager roundQuestionManager) { _accountManager = accountManager ?? throw new System.ArgumentNullException(nameof(accountManager)); _roundManager = roundManager ?? throw new System.ArgumentNullException(nameof(roundManager)); _gameManager = gameManager ?? throw new System.ArgumentNullException(nameof(gameManager)); _roundQuestionManager = roundQuestionManager ?? throw new System.ArgumentNullException(nameof(roundQuestionManager)); }
public RoundsController(ISeriesManager seriesManager, IRoundManager roundManager) { SeriesManager = seriesManager; RoundManager = roundManager; }
public WinCondition(IDataHolder <Entity> entities, IRoundManager roundManager) { this.entities = entities; this.roundManager = roundManager; }
public EmitterTrigger(IDataHolder <Entity> entities, IRoundManager roundManager) { this.entities = entities; this.roundManager = roundManager; }
public Game(IRoundManager roundManager, IEnumerable<Player> players) { this.roundManager = roundManager; this.players = players; }
public PlayersController(IRoundManager roundManager, IPlayerManager playerManager, IHcpRule rule) { RoundManager = roundManager; PlayerManager = playerManager; HcpRule = rule; }
public RoundResetter(IRoundManager roundManager, IDataHolder <Entity> entities) { this.roundManager = roundManager; this.entities = entities; }
public GameManager(Player player, Character monster) { Player = player; Monster = monster; RoundManager = new RoundManager(Player, Monster); }
public SeriesManager(IRoundManager roundManager, ISeriesRepository seriesRepository) { _roundManager = roundManager; _seriesRepository = seriesRepository; }
public void Construct(IRoundManager roundManager) { this.roundManager = roundManager; }