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