Example #1
0
        public Touchdown(GameRuleStateMachine stateMachine, IOptions <GameOptions> gameOptions,
                         IOptions <TouchdownOptions> options, ISchedulerService schedulerService)
            : base(stateMachine, gameOptions)
        {
            _options          = options.Value;
            _assistHelper     = new TouchdownAssistHelper();
            _schedulerService = schedulerService;

            StateMachine.GameStateChanged += OnGameStateChanged;
            stateMachine.TimeStateChanged += OnTimeStateChanged;
        }
Example #2
0
 public TouchdownPlayerScore(TouchdownOptions options)
 {
     _options = options;
 }