forked from External/mage
* Fixed CMC calculation for transformed cards (fixes #1826).
This commit is contained in:
parent
1deb4192ba
commit
2b8f73dbcc
132 changed files with 227 additions and 179 deletions
|
|
@ -13,45 +13,63 @@ import mage.game.Game;
|
|||
public interface MageObject extends MageItem, Serializable {
|
||||
|
||||
String getName();
|
||||
|
||||
String getIdName();
|
||||
|
||||
String getLogName();
|
||||
|
||||
String getImageName();
|
||||
|
||||
void setName(String name);
|
||||
|
||||
List<CardType> getCardType();
|
||||
|
||||
List<String> getSubtype();
|
||||
|
||||
boolean hasSubtype(String subtype);
|
||||
|
||||
List<String> getSupertype();
|
||||
|
||||
Abilities<Ability> getAbilities();
|
||||
|
||||
boolean hasAbility(UUID abilityId, Game game);
|
||||
|
||||
ObjectColor getColor(Game game);
|
||||
|
||||
ManaCosts<ManaCost> getManaCost();
|
||||
|
||||
int getConvertedManaCost();
|
||||
|
||||
MageInt getPower();
|
||||
|
||||
MageInt getToughness();
|
||||
|
||||
void adjustChoices(Ability ability, Game game);
|
||||
|
||||
void adjustCosts(Ability ability, Game game);
|
||||
|
||||
void adjustTargets(Ability ability, Game game);
|
||||
|
||||
MageObject copy();
|
||||
|
||||
/**
|
||||
* Defines that MageObject is a copy of another object
|
||||
*
|
||||
* @param isCopy
|
||||
*/
|
||||
void setCopy(boolean isCopy);
|
||||
|
||||
/**
|
||||
* Checks if current MageObject is a copy of another object
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
boolean isCopy();
|
||||
|
||||
|
||||
int getZoneChangeCounter(Game game);
|
||||
|
||||
void updateZoneChangeCounter(Game game);
|
||||
|
||||
void setZoneChangeCounter(int value, Game game);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue