Package net.sf.colossus.gui
Class RevealedCreature
- java.lang.Object
-
- net.sf.colossus.gui.RevealedCreature
-
public class RevealedCreature extends java.lang.ObjectContains info about one revealed creature for RevealEvent.- Author:
- Clemens Katzer
-
-
Field Summary
Fields Modifier and Type Field Description private CreatureTypecreatureTypeprivate booleandeadprivate booleandidRecruitprivate booleandidTeleportprivate static java.util.logging.LoggerLOGGERprivate java.lang.StringtitanBaseNameprivate booleanwasAcquiredprivate booleanwasRecruitedprivate booleanwasReinforcedprivate booleanwasSummoned
-
Constructor Summary
Constructors Constructor Description RevealedCreature(CreatureType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandidRecruit()booleandidTeleport()java.lang.StringgetName()java.lang.StringgetPlainName()booleanisDead()booleanmatches(java.lang.String name)voidsetDead(boolean value)voidsetDidRecruit(boolean value)voidsetDidTeleport(boolean value)voidsetReason(java.lang.String reason)voidsetTitanBaseName(java.lang.String tbName)voidsetWasAcquired(boolean value)voidsetWasRecruited(boolean value)voidsetWasReinforced(boolean value)voidsetWasSummoned(boolean value)ChittoChit(int scale)java.lang.StringtoString()booleanwasAcquired()booleanwasRecruited()booleanwasReinforced()booleanwasSummoned()
-
-
-
Field Detail
-
LOGGER
private static final java.util.logging.Logger LOGGER
-
creatureType
private final CreatureType creatureType
-
titanBaseName
private java.lang.String titanBaseName
-
dead
private boolean dead
-
didRecruit
private boolean didRecruit
-
wasRecruited
private boolean wasRecruited
-
wasReinforced
private boolean wasReinforced
-
didTeleport
private boolean didTeleport
-
wasSummoned
private boolean wasSummoned
-
wasAcquired
private boolean wasAcquired
-
-
Constructor Detail
-
RevealedCreature
public RevealedCreature(CreatureType type)
-
-
Method Detail
-
setTitanBaseName
public void setTitanBaseName(java.lang.String tbName)
-
getName
public java.lang.String getName()
-
getPlainName
public java.lang.String getPlainName()
-
matches
public boolean matches(java.lang.String name)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toChit
public Chit toChit(int scale)
-
setDidRecruit
public void setDidRecruit(boolean value)
-
didRecruit
public boolean didRecruit()
-
setWasRecruited
public void setWasRecruited(boolean value)
-
wasRecruited
public boolean wasRecruited()
-
setWasReinforced
public void setWasReinforced(boolean value)
-
wasReinforced
public boolean wasReinforced()
-
setDidTeleport
public void setDidTeleport(boolean value)
-
didTeleport
public boolean didTeleport()
-
setWasSummoned
public void setWasSummoned(boolean value)
-
wasSummoned
public boolean wasSummoned()
-
setWasAcquired
public void setWasAcquired(boolean value)
-
wasAcquired
public boolean wasAcquired()
-
setDead
public void setDead(boolean value)
-
isDead
public boolean isDead()
-
setReason
public void setReason(java.lang.String reason)
-
-