C# Class HearthAnalyzer.Core.Cards.BaseMinion

Represents a minion at the most basic level
Inheritance: BaseCard, IAttacker, IDamageableEntity
Afficher le fichier Open project: kwluo90/HearthAnalyzer Class Usage Examples

Méthodes publiques

Свойство Type Description
BonusHealth int
BonusSpellPower int
CurrentHealth int
MaxHealth int
StatusEffects MinionStatusEffects

Méthodes publiques

Méthode Description
ApplyStatusEffects ( MinionStatusEffects effects ) : void

Applies the provided effects to the minion

Attack ( IDamageableEntity target ) : void

Attacks another target

Die ( ) : void

Called when a minion dies

GetCurrentAttackPower ( ) : int
RemoveStatusEffects ( MinionStatusEffects effects ) : void

Removes the specified effects from the minion

ResetAttacksThisTurn ( ) : void

Resets the number of attacks this minion has performed this turn.

Silence ( ) : void

Called when a minion is silenced

TakeBuff ( int attackBuff, int healthBuff ) : void
TakeDamage ( int damage ) : void
TakeHealing ( int healAmount ) : void
TakeTemporaryBuff ( int attackBuff ) : void

Méthodes protégées

Méthode Description
BaseMinion ( ) : System

Method Details

ApplyStatusEffects() public méthode

Applies the provided effects to the minion
public ApplyStatusEffects ( MinionStatusEffects effects ) : void
effects MinionStatusEffects The effects to apply
Résultat void

Attack() public méthode

Attacks another target
public Attack ( IDamageableEntity target ) : void
target IDamageableEntity The target to attack
Résultat void

BaseMinion() protected méthode

protected BaseMinion ( ) : System
Résultat System

Die() public méthode

Called when a minion dies
public Die ( ) : void
Résultat void

GetCurrentAttackPower() public méthode

public GetCurrentAttackPower ( ) : int
Résultat int

RemoveStatusEffects() public méthode

Removes the specified effects from the minion
public RemoveStatusEffects ( MinionStatusEffects effects ) : void
effects MinionStatusEffects The effects to remove
Résultat void

ResetAttacksThisTurn() public méthode

Resets the number of attacks this minion has performed this turn.
public ResetAttacksThisTurn ( ) : void
Résultat void

Silence() public méthode

Called when a minion is silenced
public Silence ( ) : void
Résultat void

TakeBuff() public méthode

public TakeBuff ( int attackBuff, int healthBuff ) : void
attackBuff int
healthBuff int
Résultat void

TakeDamage() public méthode

public TakeDamage ( int damage ) : void
damage int
Résultat void

TakeHealing() public méthode

public TakeHealing ( int healAmount ) : void
healAmount int
Résultat void

TakeTemporaryBuff() public méthode

public TakeTemporaryBuff ( int attackBuff ) : void
attackBuff int
Résultat void

Property Details

BonusHealth public_oe property

The bonus health of this card
public int BonusHealth
Résultat int

BonusSpellPower public_oe property

The amount of bonus spell power this minion adds
public int BonusSpellPower
Résultat int

CurrentHealth public_oe property

The current health of this card
public int CurrentHealth
Résultat int

MaxHealth public_oe property

The maximum health of this card
public int MaxHealth
Résultat int

StatusEffects public_oe property

Represents the current status effects applied to the card
public MinionStatusEffects StatusEffects
Résultat MinionStatusEffects