|
@ -27,8 +27,6 @@ public class SolitaerGamePanel extends JPanel { |
|
|
|
|
|
|
|
|
StartStack a = new StartStack(25,125); |
|
|
StartStack a = new StartStack(25,125); |
|
|
|
|
|
|
|
|
a.addCard(deck.getDeck().get(0)); |
|
|
|
|
|
|
|
|
|
|
|
deck.getDeck().get(5).setFaceUp(true); |
|
|
deck.getDeck().get(5).setFaceUp(true); |
|
|
a.addCard((deck.getDeck().get(5))); |
|
|
a.addCard((deck.getDeck().get(5))); |
|
|
|
|
|
|
|
@ -44,6 +42,9 @@ public class SolitaerGamePanel extends JPanel { |
|
|
deck.getDeck().get(1).setFaceUp(true); |
|
|
deck.getDeck().get(1).setFaceUp(true); |
|
|
a.addCard((deck.getDeck().get(1))); |
|
|
a.addCard((deck.getDeck().get(1))); |
|
|
|
|
|
|
|
|
|
|
|
deck.getDeck().get(0).setFaceUp(true); |
|
|
|
|
|
a.addCard(deck.getDeck().get(0)); |
|
|
|
|
|
|
|
|
this.add(a); |
|
|
this.add(a); |
|
|
|
|
|
|
|
|
StartStack b = new StartStack(200,125); |
|
|
StartStack b = new StartStack(200,125); |
|
@ -54,10 +55,14 @@ public class SolitaerGamePanel extends JPanel { |
|
|
|
|
|
|
|
|
StartStack c = new StartStack(375,125); |
|
|
StartStack c = new StartStack(375,125); |
|
|
|
|
|
|
|
|
deck.getDeck().get(33).setFaceUp(true); |
|
|
|
|
|
c.addCard((deck.getDeck().get(33))); |
|
|
|
|
|
|
|
|
deck.getDeck().get(13).setFaceUp(true); |
|
|
|
|
|
c.addCard((deck.getDeck().get(12))); |
|
|
this.add(c); |
|
|
this.add(c); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
StartStack d = new StartStack(475,125); |
|
|
|
|
|
this.add(d); |
|
|
|
|
|
|
|
|
//save = new SaveStack(500,250); |
|
|
//save = new SaveStack(500,250); |
|
|
this.add(save); |
|
|
this.add(save); |
|
|
|
|
|
|
|
|