inonit.domain.game.card.hearts
Interface Intelligence.Play

All Superinterfaces:
java.io.Serializable
Enclosing class:
Intelligence

public static interface Intelligence.Play
extends java.io.Serializable

An object representing a card played.


Method Summary
 Card getCard()
          Returns the card played.
 int getPlayer()
          Returns the index of the Intelligence that played a card.
 

Method Detail

getPlayer

public int getPlayer()
Returns the index of the Intelligence that played a card.
Returns:
The relative index of the Intelligence that played a card.

getCard

public Card getCard()
Returns the card played.
Returns:
The Card played.