forked from External/mage
tests: fixed wrong permanent structure for battlefield cards (addCard command); tests: added docs and additional runtime checks; game: Modal double-faced cards - improved support, no more other side effects on battlefield; game: Copy abilities - improved stability and cards support; game: Player under control - improved stability and related cards support (possible NPE errors, additional runtime checks); server: fixed bloated logs with game timer; AI: fixed wrong timer in computer games;
27 lines
494 B
Java
27 lines
494 B
Java
package mage.game;
|
|
|
|
import mage.cards.Card;
|
|
|
|
/**
|
|
* For tests only: put to battlefield with additional settings like tapped
|
|
*
|
|
* @author JayDi85
|
|
*/
|
|
public class PutToBattlefieldInfo {
|
|
|
|
private final Card card;
|
|
private final boolean tapped;
|
|
|
|
public PutToBattlefieldInfo(Card card, boolean tapped) {
|
|
this.card = card;
|
|
this.tapped = tapped;
|
|
}
|
|
|
|
public Card getCard() {
|
|
return card;
|
|
}
|
|
|
|
public boolean isTapped() {
|
|
return tapped;
|
|
}
|
|
}
|