C# Class HearthAnalyzer.Core.Cards.BaseWeapon

Represents a weapon in Hearthstone
Inheritance: BaseCard, IAttacker, IDamageableEntity
Afficher le fichier Open project: kwluo90/HearthAnalyzer

Méthodes publiques

Свойство Type Description
Durability int
WeaponOwner BasePlayer

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
BaseWeapon ( ) : System

Method Details

Attack() public méthode

public Attack ( IDamageableEntity target ) : void
target IDamageableEntity
Résultat void

BaseWeapon() protected méthode

protected BaseWeapon ( ) : System
Résultat System

Die() public méthode

This kills the weapon
public Die ( ) : void
Résultat void

GetCurrentAttackPower() public méthode

public GetCurrentAttackPower ( ) : int
Résultat int

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

Durability public_oe property

The amount of durability remaining on this weapon.
public int Durability
Résultat int

WeaponOwner public_oe property

Back reference to the player that owns and has this weapon equipped
public BasePlayer WeaponOwner
Résultat BasePlayer