public class AddCreatureAction extends LegionAction implements RevealingAction
Modifier and Type | Field and Description |
---|---|
private CreatureType |
creatureType |
legion
Constructor and Description |
---|
AddCreatureAction(Legion legion,
CreatureType creatureType) |
Modifier and Type | Method and Description |
---|---|
CreatureType |
getAddedCreatureType()
The type of creature that was added.
|
java.lang.String |
getReason()
Returns a string representing the reason for the addition.
|
CreatureType[] |
getRevealedCreatures() |
java.lang.String |
toString() |
getLegion
private final CreatureType creatureType
public AddCreatureAction(Legion legion, CreatureType creatureType)
public CreatureType getAddedCreatureType()
public CreatureType[] getRevealedCreatures()
getRevealedCreatures
in interface RevealingAction
public java.lang.String getReason()
public java.lang.String toString()
toString
in class java.lang.Object