Class EventCard
java.lang.Object
it.polimi.ingsw.gc14.Model.PlayableCard
it.polimi.ingsw.gc14.Model.Cards.TribeCard
it.polimi.ingsw.gc14.Model.Cards.TribeCards.EventCard
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CavePaintings, Hunt, ShamanicRitual, Sustenance
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TribeCard
getNMin, isEventCardMethods inherited from class PlayableCard
getEra, getIdIMG, toStringBoard, toStringPlayer
-
Field Details
-
type
The specific type of this event card.
-
-
Constructor Details
-
EventCard
Creates an event card with the specified era and event type.- Parameters:
era- the era of the event card.type- the type of the event card.
-
EventCard
-
-
Method Details
-
getType
Returns the type of this event card.- Returns:
- the type of this event card.
-
clone
-
activateEvent
-