public int getNewCash() {
        int cash = 0;
        int won = 0;

        for (int i = 0; i < player.numberOfHands(); ++i) {
            if (rules.wins(player.getActiveHand(), dealer.getActiveHand())) {
                cash += rules.getOdds(player.getActiveHand()) * (double) player.getBet();
                won = 1;
                statistic.won();
                status = (i + 1) + ". hand won";
            } else {
                statistic.lost();
                status = (i + 1) + ". hand lost";
            }
            notifyObservers();
            player.switchHand();
        }

        if (won == 0) {
            statistic.lostCash(player.getBet());
        } else {
            statistic.wonCash(cash);
        }

        return cash + player.getCash() + player.getBet() * won;
    }