Uses of Class
cs4099.Pile

Uses of Pile in cs4099
 

Methods in cs4099 with parameters of type Pile
 void State.addPile(Pile pile)
          Add a pile to this state (used in the interpretation stage).
 java.lang.String State.canPerformMove(Pile firstpile, Pile secondpile)
          Tests whether a move can be performed from this state, by considering two factors:
1.
 int Pile.compareTo(Pile pile)
          Returns "true" if this pile is found to be "greater than" another, based on its attributes and contents but not its ID number.
 boolean Pile.equalsByContents(Pile otherpile)
          A method to compare the contents of this pile with another, and to return "true" if the contents are equal.
 boolean Pile.isequivalent(Pile pile)
          Examines whether a pile's properties are equivalent to another, including the suits and values of the cards in them.