Card card = getCard(mps);
listener.handlePlayerWonTrick(new PlayerWonTrickEvent(id, card));
} else if(mt.equals(MessageType.SCORE_EVENT)) {
int score = getInt(mps, MessageParamConstants.SCORE);
int id = getPlayerId(mps);
listener.handleScore(new ScoreEvent(id, score));
} else if(mt.equals(MessageType.PLAYER_NEEDS_TO_PLAY)) {
int id = getPlayerId(mps);
listener.handlePlayerNeedsToPlay(new PlayerNeedsToPlay(id));
}
}