Serialized Form


Package <Unnamed>

Class CardGame extends javax.swing.JApplet implements Serializable

Class CardPile extends java.util.LinkedList<Card> implements Serializable

Serialized Fields

x

int x
Location of the pile of cards on the table


y

int y
Location of the pile of cards on the table


offsetX

int offsetX
Offset between cards in the pile


offsetY

int offsetY
Offset between cards in the pile

Class CardTable extends javax.swing.JComponent implements Serializable

Serialized Fields

pile

CardPile[] pile
Storage for each of the piles available


movingPile

CardPile movingPile
Storage for pile that is in motion, if any This will be null if we are not dragging a pile


cardUnderMouse

Card cardUnderMouse
Records card under last mouse press If we detect the start of a drag, we will have to split off the pile starting from this card


pileUnderMouse

CardPile pileUnderMouse
Records index of pile under last mouse press If we detect the start of a drag, we will have to split off the pile starting from cardUnderMouse