예제 #1
0
 /// <summary>
 /// Notifies other players about position change.
 /// </summary>
 private void Character_OnPositionChanged(Character movedPlayer)
 {
     // Send other clients notification, that user is moving.
     foreach (var player in GetAllPlayers(true))
     {
         _packetsHelper.SendCharacterMoves(player.Client, movedPlayer);
     }
 }