}else if(event.getMessage() instanceof TakeCharacterMessage) {
if (isServer){
//TODO: Make setPlayerCharacter return boolean for success (non duplicate)
TakeCharacterMessage msg = (TakeCharacterMessage)event.getMessage();
game.setPlayerCharacter(msg.getPlayer(), msg.getCharacterName());
server.sendAll(new CharactersAvailableMessage(game));
characterNames.add(msg.getCharacterName());
if(characterNames.size() == this.numPlayers){
// All of the players have selected their characters.
// Tell everyone to draw their board and determine who goes first.
server.sendAll(new DrawPawnsMessage(characterNames));