C# Class HearthAnalyzer.Core.Cards.BaseSpell

Represents the base spell card
Inheritance: BaseCard
ファイルを表示 Open project: kwluo90/HearthAnalyzer Class Usage Examples

Public Methods

Method Description
Activate ( IDamageableEntity target = null, CardEffect cardEffect = CardEffect.NONE ) : void

Activates the spell card with an optional target

Protected Methods

Method Description
BaseSpell ( ) : System
HealTarget ( IDamageableEntity target, int healAmount ) : void

Heals a target

Method Details

Activate() public abstract method

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
return void

BaseSpell() protected method

protected BaseSpell ( ) : System
return System

HealTarget() protected method

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