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

Represents a weapon in Hearthstone
상속: BaseCard, IAttacker, IDamageableEntity
파일 보기 프로젝트 열기: kwluo90/HearthAnalyzer

공개 프로퍼티들

프로퍼티 타입 설명
Durability int
WeaponOwner BasePlayer

공개 메소드들

메소드 설명
Attack ( IDamageableEntity target ) : void
Die ( ) : void

This kills the weapon

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

보호된 메소드들

메소드 설명
BaseWeapon ( ) : System

메소드 상세

Attack() 공개 메소드

public Attack ( IDamageableEntity target ) : void
target IDamageableEntity
리턴 void

BaseWeapon() 보호된 메소드

protected BaseWeapon ( ) : System
리턴 System

Die() 공개 메소드

This kills the weapon
public Die ( ) : void
리턴 void

GetCurrentAttackPower() 공개 메소드

public GetCurrentAttackPower ( ) : int
리턴 int

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

프로퍼티 상세

Durability 공개적으로 프로퍼티

The amount of durability remaining on this weapon.
public int Durability
리턴 int

WeaponOwner 공개적으로 프로퍼티

Back reference to the player that owns and has this weapon equipped
public BasePlayer WeaponOwner
리턴 BasePlayer