|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CardModel
| Method Summary | |
|---|---|
int |
compareTo(CardModel o)
|
Ability[] |
getAbilities()
Return the list of actions when casting |
Attachment |
getAttachment()
Returns the optional attachment condition and modifiers brought by this card. |
java.lang.String |
getCardName()
Returns the english name of this card. |
int |
getIdCard()
Return the type of this card |
int |
getIdColor()
Return the printed Colors of this card. |
java.lang.String |
getKeyName()
Returns the file-serializable card name. |
java.lang.String |
getLanguage()
Returns the language used for this card. |
java.lang.String |
getLocalName()
Returns the translated name. |
ModifierModel |
getModifierModels()
Return the shared modifier models. |
int[] |
getProperties()
Return the properties of this card. |
java.lang.String |
getRulesCredit()
XML rule designer of loaded cards. |
int[] |
getStaticRegisters()
Return shared registers of this targetable. |
boolean |
hasKeywords(java.lang.String keyword)
Indicates this card contains or not the specified keyword. |
void |
setLocalName(java.lang.String localName)
Set the translated card name. |
void |
setModifierModels(ModifierModel modifierModels)
Set the shared modifier models. |
void |
setRulesCredits(java.lang.String cardRulesCredits)
Set XML rule designer of this card. |
| Method Detail |
|---|
java.lang.String getLanguage()
java.lang.String getKeyName()
java.lang.String getCardName()
java.lang.String getRulesCredit()
boolean hasKeywords(java.lang.String keyword)
keyword - the tested keyword.
java.lang.String getLocalName()
void setLocalName(java.lang.String localName)
localName - the new local name.void setRulesCredits(java.lang.String cardRulesCredits)
cardRulesCredits - the XML rule designer of loaded cards.int getIdCard()
int getIdColor()
int[] getStaticRegisters()
int[] getProperties()
Ability[] getAbilities()
void setModifierModels(ModifierModel modifierModels)
modifierModels - The new modifierModels to set.ModifierModel getModifierModels()
Attachment getAttachment()
null if there is no attachment brought
by this card.int compareTo(CardModel o)
compareTo in interface java.lang.Comparable<CardModel>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||