Example #1
0
 public void RemoveClientFromMap(MapClient clientToRmeoveFromMap)
 {
     // Clean-up.
     ConnectedClientsList.Remove(clientToRmeoveFromMap);
     Clients.All.removeMapClient(clientToRmeoveFromMap);
 }
Example #2
0
 public void ShowClientOnMap(MapClient clientToShowOnMap)
 {
     // Add client & broadcast location to all clients connected to this Hub.
     ConnectedClientsList.Add(clientToShowOnMap);
     Clients.All.addMapClient(clientToShowOnMap);
 }