public PushMessagingManager(IJsonSerialiser serialiser, ICommonMessagingManager commonMessagingManager, IDonkyCore donkyCore, INotificationManager notificationManager, IEnvironmentInformation environmentInformation, IPushDataContext pushDataContext, IDeviceInteraction deviceInteraction) { _serialiser = serialiser; _commonMessagingManager = commonMessagingManager; _donkyCore = donkyCore; _notificationManager = notificationManager; _environmentInformation = environmentInformation; _pushDataContext = pushDataContext; _deviceInteraction = deviceInteraction; _donkyCore.SubscribeToLocalEvent<AppOpenEvent>(HandleAppOpen); }
public PlayerControlerClient(Player owner, IGameState gameState) { this._owner = owner; this._actualCommand = null; this._deviceInteraction = FactoryDeviceInteraction.Instance.GetDeviceInteraction(); }