package jcrib;

public class Action {

    private Game.State state;
    private int cardId;

    public Action(Game.State state, int cardId) {
        this.state = state;
        this.cardId = cardId;
    }

    public Game.State getActionState() {
        return state;
    }

    public int getCardId() {
        return cardId;
    }

    @Override
    public String toString() {
        return state + ": Card " + cardId;
    }
}

@@ -13,60 +13,274 @@
 b;%0A%0A
-public class Action %7B%0A%0A    private Game.State state;
+/**%0A * Represents a player action: cutting the deck, placing cards in the crib, and%0A * playing cards.%0A *%0A * @author malensek%0A */%0Apublic class Action %7B%0A%0A    /** Game state the Action is intended for */%0A    private Game.State state;%0A%0A    /** In-hand card index (ID) */
 %0A   

Add javadoc/comments to Action