package com.dot.dominion.domain;
/**
* Defines the actions each individual player needs to be able to take.
*
* @author Shahin
*/
public interface Player {
/**
* Changes the players name to the given name.
*
* @param name The name by which the player should now go by.
*/
public void changeName (String name);
/**
* @return The player's id.
*/
public int getId ();
/**
* @return The player's current name.
*/
public String getName ();
}
|