package bargainingchips.actions; import bargainingchips.Bundle; /** * Acceptance of an offer by the opponent (non-final). */ public class PreAccept extends Offer { public PreAccept(Offer agreement) { super(agreement.getBundle(), OfferType.PREACCEPT); } public Bundle getAgreement() { return getBundle(); } @Override public String toString() { return "PreAccept: " + getBundle(); } }