diff --git a/src/roulette/Game.java b/src/roulette/Game.java index 63c6ed6..0755b95 100755 --- a/src/roulette/Game.java +++ b/src/roulette/Game.java @@ -15,11 +15,7 @@ public class Game { // name of the game private static final String DEFAULT_NAME = "Roulette"; // add new bet subclasses here - private Bet[] myPossibleBets = { - new RedBlack("Red or Black", 1), - new OddEven("Odd or Even", 1), - new ThreeConsecutive("Three in a Row", 11), - }; + private Bet[] myPossibleBets = new BetFactory().makeBets(); private Wheel myWheel; /**