示例#1
0
文件: GameClient.cs 项目: jmaxxz/Ares
 /// <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();
 }
示例#2
0
 /// <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());
 }