org.ninm.games.cardgames
Interface Trick

All Known Implementing Classes:
BelotTrick

public interface Trick

This interface defines tricks that can be anounced by players

Version:
1.0
Author:
Nikolay

Method Summary
 java.lang.String getName()
          returns the name of this bonus
 Player getPlayer()
          returns the player that announced this trick
 int getValue()
          returns the value of this bonus
 

Method Detail

getValue

public int getValue()
returns the value of this bonus

Returns:
float

getName

public java.lang.String getName()
returns the name of this bonus

Returns:
String the name of the bonus

getPlayer

public Player getPlayer()
returns the player that announced this trick

Returns:
Player the player that announced the trick

SourceForge.net Logo