MEngine.addKeyDownHandler(this);
MEngine.addMouseMoveHandler(this);
}
private boolean checkIsUserANewPlayer(CheckLoginResponse result){
if(result.getStatus()==CheckLoginResponse.Status.NEW_PLAYER){
root.insertLayer(0, new ComponentLayer(new Glass(game.getWidth(),game.getHeight())));
root.insertLayer(0,new ComponentLayer(getBoard()));
game.getLocalPlayer().setID(null);
blocked=true;
return true;
}