inonit.domain.game.card.hearts
Interface Intelligence.Trick
- Enclosing class:
- Intelligence
- public static interface Intelligence.Trick
An object representing a trick in which this Intelligence
is participating.
Method Summary |
int |
getPlayerToLead()
Returns the index of the Intelligence who will lead this trick. |
int |
getPlayerWhoTook()
Returns the index of the player who took this trick. |
getPlayerToLead
public int getPlayerToLead()
- Returns the index of the
Intelligence
who will lead this trick.
- Returns:
- The relative index of the player who will lead this
trick.
getPlayerWhoTook
public int getPlayerWhoTook()
- Returns the index of the player who took this trick. If called before the trick has ended,
the return value is undefined.
- Returns:
- The relative index of the player who took this trick.