Package it.polimi.ingsw.Common
Interface PersonalGoalCardInterface
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ClientPersonalGoalCard
,PersonalGoalCard
Personal Goal Card Interface
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getOrdinal
(int x, int y) getter methodint
getType()
Getter method for Personal Goal Card
-
Field Details
-
LIMIT
static final int LIMITLimit of Personal Goal Cards.- See Also:
-
-
Method Details
-
getType
Getter method for Personal Goal Card- Returns:
- type of the card
- Throws:
RemoteException
- related to RMI
-
getOrdinal
getter method- Parameters:
x
- coordinatey
- coordinate- Returns:
- ordinal of ObjectCardType or -1 if the card is empty
- Throws:
Exception
- if coordinates are invalid
-