C# Class EasyFarm.Classes.BattleAbility

An ability that should be used in battle. It represents both targeted and buffing abilities allowing the player to choose to cast abilities when a buff has worn.
Inheritance: BindableBase
显示文件 Open project: EasyFarm/EasyFarm Class Usage Examples

Private Properties

Property Type Description
BattleAbility System

Public Methods

Method Description
AutoFill ( ) : void

Sets the ability field.

BattleAbility ( EasyFarm.Parsing.Ability ability ) : System

Create a storing a reference to the given ability.

FindAbility ( string name ) : EasyFarm.Parsing.Ability

Locates an ability by name and prompting the user if more than one ability has been found.

Private Methods

Method Description
BattleAbility ( ) : System

Method Details

AutoFill() public method

Sets the ability field.
public AutoFill ( ) : void
return void

BattleAbility() public method

Create a storing a reference to the given ability.
public BattleAbility ( EasyFarm.Parsing.Ability ability ) : System
ability EasyFarm.Parsing.Ability
return System

FindAbility() public method

Locates an ability by name and prompting the user if more than one ability has been found.
public FindAbility ( string name ) : EasyFarm.Parsing.Ability
name string
return EasyFarm.Parsing.Ability