The method "getCardType" belongs to the class "Permanent" in the Java library "mage.game.permanent". This method is used to retrieve the card type of a permanent object in the game. A permanent represents a card that is currently on the battlefield, and its card type provides information about its category, such as whether it is a creature, artifact, enchantment, and so on. By calling the "getCardType" method on a permanent object, developers can obtain the specific card type of that permanent for further processing or validation within the game.
Java Permanent.getCardType - 18 examples found. These are the top rated real world Java examples of mage.game.permanent.Permanent.getCardType extracted from open source projects. You can rate examples to help us improve the quality of examples.