diff --git a/bin/controller/Cashflow.class b/bin/controller/Cashflow.class index e2c2ff7..d85eb9e 100644 Binary files a/bin/controller/Cashflow.class and b/bin/controller/Cashflow.class differ diff --git a/bin/view/GameboardWindow.class b/bin/view/GameboardWindow.class index f341325..7fb8f6c 100644 Binary files a/bin/view/GameboardWindow.class and b/bin/view/GameboardWindow.class differ diff --git a/src/controller/Cashflow.java b/src/controller/Cashflow.java index 675ca46..03731c7 100644 --- a/src/controller/Cashflow.java +++ b/src/controller/Cashflow.java @@ -21,7 +21,8 @@ public class Cashflow public static void main(String[] args) { - testGamePlay(); + //testGamePlay(); + } public static void go() @@ -75,7 +76,7 @@ public class Cashflow public boolean isWinner() { boolean isWinner = false; - for(Player p : players) + for(Player p : _players) { if(p.hasWon()) { diff --git a/src/view/MainMenu.java b/src/view/MainMenu.java index 7ae2065..6a2f559 100644 --- a/src/view/MainMenu.java +++ b/src/view/MainMenu.java @@ -275,8 +275,6 @@ public class MainMenu public void actionPerformed(ActionEvent e) { frame.dispose(); - //Cashflow.go(playerNames); - //System.exit(0); } }); return playerNames;