Back to project page AndroSol.
The source code is released under:
MIT License
If you think the Android project AndroSol listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package lib.cards.models; //w ww. j a va 2s .co m @SuppressWarnings("serial") public class FreeCell extends CardStack { public FreeCell(int index) { setIndex(index); } @Override boolean canFillEmptyStackWith(Card card) { return true; } @Override boolean couldBuildStackWith(Card topCard, Card card) { // Only one card per FreeCell return false; } }