C# Class HearthAnalyzer.Core.Cards.BaseSpell

Represents the base spell card
Inheritance: BaseCard
Afficher le fichier Open project: kwluo90/HearthAnalyzer Class Usage Examples

Méthodes publiques

Méthode Description
Activate ( IDamageableEntity target = null, CardEffect cardEffect = CardEffect.NONE ) : void

Activates the spell card with an optional target

Méthodes protégées

Méthode Description
BaseSpell ( ) : System
HealTarget ( IDamageableEntity target, int healAmount ) : void

Heals a target

Method Details

Activate() public abstract méthode

Activates the spell card with an optional target
public abstract Activate ( IDamageableEntity target = null, CardEffect cardEffect = CardEffect.NONE ) : void
target IDamageableEntity The target for the spell card if applicable
cardEffect CardEffect The card effect to use
Résultat void

BaseSpell() protected méthode

protected BaseSpell ( ) : System
Résultat System

HealTarget() protected méthode

Heals a target
protected HealTarget ( IDamageableEntity target, int healAmount ) : void
target IDamageableEntity The target to heal
healAmount int The amount to heal for
Résultat void