final boolean hasFolded = oldPlayerState.hasFolded();
final boolean hasBeenDealt = oldPlayerState.hasBeenDealt();
final SeatId seat = oldPlayerState.getSeatId();
final int investment = oldPlayerState.getTotalInvestment();
PlayerState playerState = new AbstractPlayerState() {
@Override
public String getName() {
return oldPlayerState.getName();
}