forked from External/mage
Change all line endings to LF
This commit is contained in:
parent
13d9a56b7a
commit
430ae503c7
17069 changed files with 1263498 additions and 1263497 deletions
|
|
@ -1,57 +1,57 @@
|
|||
package mage;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Abilities;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.costs.mana.ManaCost;
|
||||
import mage.abilities.costs.mana.ManaCosts;
|
||||
import mage.constants.CardType;
|
||||
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();
|
||||
|
||||
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);
|
||||
|
||||
}
|
||||
package mage;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Abilities;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.costs.mana.ManaCost;
|
||||
import mage.abilities.costs.mana.ManaCosts;
|
||||
import mage.constants.CardType;
|
||||
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();
|
||||
|
||||
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