JavaScript is disabled on your browser.
Method Summary
All Methods Instance Methods Abstract Methods
int
Get the list of resources present in the 4 angles of the card (clockwise order)
Return the list of corners
Returns the id of the card
Returns the object which describes all the information related to points
Method Details
getCenterResources
Returns:
the resources at the center of the card side
getRequirements
Returns:
the resources needed to play this card side(it's empty if no resource is required)
getColor
Returns:
the color of this card
calcCornersCovered
int calcCornersCovered ()
Returns:
Number of corners covered by this card of that other card cover on this one.
Fow how the game works, except for the starter card when no other card is added, it will be always <=3
getCornerResources
Get the list of resources present in the 4 angles of the card (clockwise order)
Returns:
A list of card's corner resources
getCoveredCorners
Returns:
list of 4 booleans, true if the corresponding corners is covered
getPoints
Returns the object which describes all the information related to points
Returns:
PointsPlayable interface of the card side
getCorners
Return the list of corners
Returns:
list of card corners (in order, they are: upper left, upper right, lower right, lower left)
getId
Returns the id of the card
getSide
Returns:
Side corresponding to this cardSide
clone
Returns:
A new instance identical to the object