Package game
Interface Trick
- All Known Implementing Classes:
TrickImpl
public interface Trick
-
Method Summary
-
Method Details
-
addCard
add a card played by a player- Parameters:
card
- played
-
isCompleted
boolean isCompleted()check if the trick is completed- Returns:
- true if all the players have played their card
-
getCardsAndUsers
- Returns:
- the cards and the users in the trick
-
getCards
- Returns:
- the cards in the trick
-
setCall
- Parameters:
call
- the callusername
- the user who makes the call check if the user can make a call and if true set the call
-
getCall
Call getCall()- Returns:
- the call of this trick
-