Example #1
0
 /// <summary>
 ///     Called when we disconnect from the server.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void Client_Disconnected(object sender, DisconnectedEventArgs e)
 {
     //If we disconnect then we need to destroy everything!
     characterManager.RemoveAllCharacters();
     blockWorld.RemoveAllBlocks();
 }