foul-magics/Mage.Common/src/main/java/mage/view/CommanderView.java
Oleg Agafonov e38a79f231
Face down images and cards rework (#11873)
Face down changes:
* GUI: added visible face down type and real card name for controller/owner (opponent can see it after game ends);
* GUI: added day/night button to view real card for controller/owner (opponent can see it after game ends);
* game: fixed that faced-down card can render symbols, abilities and other hidden data from a real card;
* images: added image support for normal faced-down cards;
* images: added image support for morph and megamorph faced-down cards;
* images: added image support for foretell faced-down cards;

Other changes:
* images: fixed missing tokens from DDD set;
* images: no more client restart to apply newly downloaded images or render settings;
* images: improved backface image quality (use main menu -> symbols to download it);
2024-02-29 01:14:54 +04:00

23 lines
605 B
Java

package mage.view;
import java.io.Serializable;
import java.util.UUID;
import mage.cards.Card;
import mage.constants.MageObjectType;
import mage.game.Game;
import mage.game.command.Commander;
import mage.util.CardUtil;
/**
*
* @author Plopman
*/
public class CommanderView extends CardView implements CommandObjectView, Serializable{
public CommanderView(Commander commander, Card sourceCard, Game game, UUID createdForPlayerId) {
super(sourceCard, game, CardUtil.canShowAsControlled(sourceCard, createdForPlayerId));
this.mageObjectType = MageObjectType.COMMANDER;
}
}