
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@266 72836036-5685-4462-b002-a69064685172
37 lines
No EOL
593 B
Java
37 lines
No EOL
593 B
Java
package jrummikub.model;
|
|
|
|
/**
|
|
* Interface for {@link Player} model
|
|
*/
|
|
public interface IPlayer {
|
|
|
|
/**
|
|
* Get the current hand of the player
|
|
*
|
|
* @return the player's hand
|
|
*/
|
|
public IHand getHand();
|
|
|
|
/**
|
|
* Has the player laid out yet?
|
|
*
|
|
* @return if the player has laid out
|
|
*/
|
|
public boolean getLaidOut();
|
|
|
|
/**
|
|
* Returns the player settings
|
|
*
|
|
* @return the player settings
|
|
*/
|
|
public PlayerSettings getPlayerSettings();
|
|
|
|
/**
|
|
* Set if the player laid out
|
|
*
|
|
* @param laidOut
|
|
* the player laid out
|
|
*
|
|
*/
|
|
void setLaidOut(boolean laidOut);
|
|
} |