net.mlw.gfw.ext.card
Interface CardValidator

All Known Implementing Classes:
DefaultCardValidator

public interface CardValidator

This interface defines the cards in a hand (or whatever) are valid to be played.

Version:
$Revision: 1.3 $ $Date: 2004/06/29 20:32:54 $
Author:
Matthew L. Wilson

Method Summary
 boolean canPlay(int index)
           
 int getMaxNumberOfCards()
           
 

Method Detail

getMaxNumberOfCards

public int getMaxNumberOfCards()

canPlay

public boolean canPlay(int index)


Copyright © 2003-2004 mlavilson. All Rights Reserved.