Esempio n. 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;
        }
Esempio n. 2
0
 public Deathmatch(GameRuleStateMachine stateMachine, IOptions <GameOptions> gameOptions,
                   IOptions <DeathmatchOptions> options)
     : base(stateMachine, gameOptions)
 {
     _options = options.Value;
 }
Esempio n. 3
0
 public ExamplePluginGameRule(GameRuleStateMachine stateMachine, IOptions <GameOptions> gameOptions,
                              IOptions <TouchdownOptions> options, ISchedulerService schedulerService)
     : base(stateMachine, gameOptions, options, schedulerService)
 {
     GameRuleStateMachine.ScheduleTriggerHook += ScheduleTriggerHook;
 }
Esempio n. 4
0
 public Practice(GameRuleStateMachine stateMachine, IOptions <GameOptions> gameOptions)
     : base(stateMachine, gameOptions)
 {
 }