else if (((SuggestionDisprovedCardMessage)event.getMessage()).getDisprovedCard() instanceof CharacterCard)
card = ((CharacterCard)((SuggestionDisprovedCardMessage)event.getMessage()).getDisprovedCard()).getCharacterName().toString();
JOptionPane.showMessageDialog(null, card + " has been disproven.");
}else if(event.getMessage() instanceof EndGameMessage){
EndGameMessage msg = (EndGameMessage) event.getMessage();
JOptionPane.showMessageDialog(null, "Game Over! " + msg.getWinner().getCharacter().toString() + " has solved the case!");
mainView.quitGame();
client.disconnect();
if(isServer)
{
server.disconnect();