Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update Cashflow.java
  • Loading branch information
jjv14001 committed Apr 23, 2017
1 parent 4d9cd05 commit c928038
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/controller/Cashflow.java
Expand Up @@ -13,6 +13,9 @@ public class Cashflow
//private CardStack[] _cards;
public GameboardWindow gameboard;
public static int numPlayers;
private JFrame frame;
private JWindow sidewindow;
private GameboardWindow window;



Expand Down Expand Up @@ -122,6 +125,31 @@ public class Cashflow
}


}
public void setUpScreen() {
frame = new JFrame("Cashflow");
frame.setLayout(new FlowLayout());
window = new GameboardWindow(_board);

sidewindow = new JWindow();
sidewindow.setLayout(new GridLayout(5, 5));

frame.add(window);


frame.pack();

frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
public static void main(String[] args) {
new Cashflow(4);

}
public Cashflow(int numPlayers)
{
//this.setUpScreen(); // just did this to test the screen

}

}
Expand Down

0 comments on commit c928038

Please sign in to comment.