org.cb.jset.client.model
Interface SetGameClientBoard

All Known Implementing Classes:
JSetClientBoardModel

public interface SetGameClientBoard

Interface that SetGameClientBoard implementations must inherit from.

Version:
$Id: SetGameClientBoard.java 119 2004-04-14 23:20:09Z jerome $
Author:
jerome@coffeebreaks.org - last modified by $LastModifiedBy$

Method Summary
 void addCards(CardProperties[] cards)
          Add the specified cards onto the board.
 int getNbCards()
           
 void removeSet(CardSet set)
          Remove the specified matching set from the board.
 

Method Detail

getNbCards

public int getNbCards()
Returns:
the number of cards on the board.

addCards

public void addCards(CardProperties[] cards)
Add the specified cards onto the board.

Parameters:
cards - the cards to add.
Throws:
java.lang.NullPointerException - if cards is null or if an element in the array is null.

removeSet

public void removeSet(CardSet set)
               throws BoardException
Remove the specified matching set from the board.

Parameters:
set - the set to remove
Throws:
BoardException - when something fails


Copyright © 2004 CoffeeBreaks. All Rights Reserved.