CardRPG 1.0
 
Loading...
Searching...
No Matches
CardRPG.EnchantLogic Class Referenceabstract

Abstract base class for enchantment logic applied to cards. Implement this class to define how a card is modified or enhanced by an enchantment. More...

Inheritance diagram for CardRPG.EnchantLogic:
CardRPG.DamageEnchantCard CardRPG.ModifyCardLogic

Public Member Functions

Card EnchantCard (Card card)
 Applies the enchantment logic to the specified card and returns the modified card.
 

Properties

Card Card [get, set]
 
Type CardLogicTarget [get]
 Gets the type of the card logic that this instance targets.
 

Detailed Description

Abstract base class for enchantment logic applied to cards. Implement this class to define how a card is modified or enhanced by an enchantment.

Member Function Documentation

◆ EnchantCard()

Card CardRPG.EnchantLogic.EnchantCard ( Card card)
abstract

Applies the enchantment logic to the specified card and returns the modified card.

Parameters
cardThe card to enchant.
Returns
The enchanted card.

The documentation for this class was generated from the following file: