Skip to content
Permalink
Browse files

Update Cashflow.java

  • Loading branch information
jjv14001 committed Apr 23, 2017
1 parent 4d9cd05 commit c928038ac89890e5d280045a0e3ca60ac4b3ff97
Showing with 28 additions and 0 deletions.
  1. +28 −0 src/controller/Cashflow.java
@@ -13,6 +13,9 @@
//private CardStack[] _cards;
public GameboardWindow gameboard;
public static int numPlayers;
private JFrame frame;
private JWindow sidewindow;
private GameboardWindow window;



@@ -122,6 +125,31 @@ public static void testCards()
}


}
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

}

}

0 comments on commit c928038

Please sign in to comment.
You can’t perform that action at this time.