private void initPiles() { int x0 = 54, y0 = 240; for (int i = 0; i < 7; i++) { Piles[i] = new Pile(x0 + i * (dx + cardWeight), y0); } }
private void initAces() { int x0 = 500, y0 = 44; for (int i = 0; i < 4; i++) { Aces[i] = new Pile(x0 + i * (dx + cardWeight), y0); } }
private void initExtraField() { int x0 = 140, y0 = 54; ExtraField[0] = new Pile(x0, y0); }