C# 클래스 HearthAnalyzer.Core.Cards.BaseMinion

Represents a minion at the most basic level
상속: BaseCard, IAttacker, IDamageableEntity
파일 보기 프로젝트 열기: kwluo90/HearthAnalyzer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BonusHealth int
BonusSpellPower int
CurrentHealth int
MaxHealth int
StatusEffects MinionStatusEffects

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
BaseMinion ( ) : System

메소드 상세

ApplyStatusEffects() 공개 메소드

Applies the provided effects to the minion
public ApplyStatusEffects ( MinionStatusEffects effects ) : void
effects MinionStatusEffects The effects to apply
리턴 void

Attack() 공개 메소드

Attacks another target
public Attack ( IDamageableEntity target ) : void
target IDamageableEntity The target to attack
리턴 void

BaseMinion() 보호된 메소드

protected BaseMinion ( ) : System
리턴 System

Die() 공개 메소드

Called when a minion dies
public Die ( ) : void
리턴 void

GetCurrentAttackPower() 공개 메소드

public GetCurrentAttackPower ( ) : int
리턴 int

RemoveStatusEffects() 공개 메소드

Removes the specified effects from the minion
public RemoveStatusEffects ( MinionStatusEffects effects ) : void
effects MinionStatusEffects The effects to remove
리턴 void

ResetAttacksThisTurn() 공개 메소드

Resets the number of attacks this minion has performed this turn.
public ResetAttacksThisTurn ( ) : void
리턴 void

Silence() 공개 메소드

Called when a minion is silenced
public Silence ( ) : void
리턴 void

TakeBuff() 공개 메소드

public TakeBuff ( int attackBuff, int healthBuff ) : void
attackBuff int
healthBuff int
리턴 void

TakeDamage() 공개 메소드

public TakeDamage ( int damage ) : void
damage int
리턴 void

TakeHealing() 공개 메소드

public TakeHealing ( int healAmount ) : void
healAmount int
리턴 void

TakeTemporaryBuff() 공개 메소드

public TakeTemporaryBuff ( int attackBuff ) : void
attackBuff int
리턴 void

프로퍼티 상세

BonusHealth 공개적으로 프로퍼티

The bonus health of this card
public int BonusHealth
리턴 int

BonusSpellPower 공개적으로 프로퍼티

The amount of bonus spell power this minion adds
public int BonusSpellPower
리턴 int

CurrentHealth 공개적으로 프로퍼티

The current health of this card
public int CurrentHealth
리턴 int

MaxHealth 공개적으로 프로퍼티

The maximum health of this card
public int MaxHealth
리턴 int

StatusEffects 공개적으로 프로퍼티

Represents the current status effects applied to the card
public MinionStatusEffects StatusEffects
리턴 MinionStatusEffects