package Engine;

/**
 * User: AnubhawArya
 * Date: 9/13/13
 * Time: 3:21 PM
 */
public class Casino {

    private int numberOfDecks;
    private boolean hitOnSoft17s, doubleAfterSplit, resplitAfterAce;
    private String name;

    public Casino(String name, int numberOfDecks, boolean hitOnSoft17s, boolean doubleAfterSplit, boolean resplitAfterAce) {
        this.name = name;
        this.numberOfDecks = numberOfDecks;
        this.hitOnSoft17s = hitOnSoft17s;
        this.doubleAfterSplit = doubleAfterSplit;
        this.resplitAfterAce = resplitAfterAce;
    }

    public String getName() {
        return name;
    }

    public int getNumberOfDecks() {
        return numberOfDecks;
    }

    public boolean isHitOnSoft17s() {
        return hitOnSoft17s;
    }

    public boolean isDoubleAfterSplit() {
        return doubleAfterSplit;
    }

    public boolean isResplitAfterAce() {
        return resplitAfterAce;
    }
}

@@ -96,16 +96,60 @@
 sino %7B%0A%0A
+    private double blackjackPayoutMultiple;%0A
     priv
@@ -167,24 +167,24 @@
 berOfDecks;%0A
-
     private 
@@ -296,16 +296,48 @@
 ng name,
+ double blackjackPayoutMultiple,
  int num
@@ -629,24 +629,88 @@
 itAfterAce;%0A
+        this.blackjackPayoutMultiple = blackjackPayoutMultiple;%0A
     %7D%0A%0A    p
@@ -1028,24 +1028,24 @@
 fterAce() %7B%0A
-
         retu
@@ -1070,10 +1070,110 @@
 ;%0A    %7D%0A
+    %0A    public double getBlackjackPayoutMultiple() %7B%0A        return blackjackPayoutMultiple;%0A    %7D%0A
 %7D%0A

add blackjack payout multiple as a casino rule variation