public RangeFinderModule(IArdNetClient ArdClient, IOptionsMonitor <KeyBindingConfig> KeyBinding) { if (ArdClient is null) { throw new ArgumentNullException(nameof(ArdClient)); } if (KeyBinding is null) { throw new ArgumentNullException(nameof(KeyBinding)); } _keyBinding = KeyBinding; _cmdDelegate = new RangeFinderDelegate(ArdClient); }
public ControllerExecService( IArdNetClient ArdClient, IRoleResolverService RoleService, IOperatorInputProcessorService OpInputService) { if (ArdClient is null) { throw new ArgumentNullException(nameof(ArdClient)); } _ardClient = ArdClient; _roleService = RoleService; _opInputService = OpInputService; }
public GuiGunAimVM(IArdNetClient ArdClient) { _ardClient = ArdClient; _movDelegate = new TankAimingDelegate(_ardClient); _movDelegate.AimChanged += MovDelegate_MovementChanged; }
public GuiDriverVM(IArdNetClient ArdClient) { _ardClient = ArdClient; _movDelegate = new TankMovementDelegate(_ardClient); _movDelegate.MovementChanged += MovDelegate_MovementChanged; }