/// <summary> /// Notifies client that a player has been shot. /// </summary> /// <param name="updatedPlayerState">The updated state of the player who was shot</param> public void Shoot(MutablePlayer updatedPlayerState) { _player = (Player)updatedPlayerState.ToIPlayer(); InvokePlayerUpdateEventHandler(); }
/// <summary> /// Sets the signal strength of a specified player /// </summary> /// <param name="signal">the new signal strength</param> /// <param name="player">the player for which </param> public void SetSignalStrength(MutableSignalStrength signal, MutablePlayer player) { _trackerProxy.SetSignalStrength(signal.ToSignalStrength(), player.ToIPlayer()); }