This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
JRummikub/src/jrummikub/model/IPlayer.java

31 lines
444 B
Java
Raw Normal View History

package jrummikub.model;
import java.awt.Color;
/**
* Interface for {@link Player} model
*/
public interface IPlayer {
/**
* Get the current hand of the player
*
* @return the player's hand
*/
public IHand getHand();
/**
* Return the player's color
*
* @return the player's color
*/
public Color getColor();
/**
* Return the name of the player
*
* @return the player's name
*/
public String getName();
}