public void update() {
        Board board = Board.getInstance();
        int x = board.getIntX() + (board.getIntWidth() - 11 * BoardEntity.FIELD_SIZE) / 2;
        int y = board.getIntY() + (board.getIntHeight() - 11 * BoardEntity.FIELD_SIZE) / 2;
        switch (getType()) {
            case RED_PLAYER:
                y += BoardEntity.FIELD_SIZE;
                break;
            case BLUE_PLAYER:
                x += BoardEntity.FIELD_SIZE * 7;
                y += BoardEntity.FIELD_SIZE;
                break;
            case GREEN_PLAYER:
                x += BoardEntity.FIELD_SIZE * 7;
                y += BoardEntity.FIELD_SIZE * 9;
                break;
            case YELLOW_PLAYER:
                y += BoardEntity.FIELD_SIZE * 9;
                break;
        }

        nameLabel.verticalAlignCenter(x, x + 4 * BoardEntity.FIELD_SIZE);
        nameLabel.setY(y);

        nameLabel.update();
        if(position != 0) {
            nameLabel.setText(scoreLabelStr());
        }else if (isActive()) {
            nameLabel.setText(String.format("%s (%d)", this.name, this.rollCount));
        } else {
            nameLabel.setText(this.name);
        }


    }