public NetworkModule( IAppConfigService appConfigService, IScoreKeeperService scoreKeeperService, IStopWatchService stopWatchService, ReceiverEvents.ButtonPressed receiverButtonPressed) { this.appConfigService = appConfigService; this.scoreKeeperService = scoreKeeperService; this.stopWatchService = stopWatchService; this.receiverButtonPressed = receiverButtonPressed; }
public KickAndPunch( ReceiverEvents.DeviceRegistered deviceRegisteredEvent, ReceiverEvents.ButtonPressed buttonPressedEvent, ReceiverEvents.RegisterDevice registerDeviceRequest, ReceiverEvents.SensorHit deviceSensorHit, ReceiverEvents.DeviceStatusUpdate deviceStatusNotify, ApplicationEvents.ApplicationClosing appClosingEvent) { this.deviceRegisteredEvent = deviceRegisteredEvent; this.buttonPressedEvent = buttonPressedEvent; this.registerDeviceRequest = registerDeviceRequest; this.deviceSensorHit = deviceSensorHit; this.deviceStatusNotify = deviceStatusNotify; this.appClosingEvent = appClosingEvent; }