Method | Description | |
---|---|---|
Ability ( int cost = 2, int intensity = 1, int duration, int cooldown = 5, AbilityTarget target = AbilityTarget.None, AbilityElement element = AbilityElement.None, string name = "", string description = "" ) : System |
The constructor for an ability setting default values.
|
|
GenerateName ( ) : void |
Method to generate the name of an ability The name is determined by the target and element
|
|
GetIcon ( ) : void |
Method to get the icon for an ability from data
|
|
Load ( |
Loading method
|
|
Save ( XmlWriter xmlw ) : void |
Saving method
|
public Ability ( int cost = 2, int intensity = 1, int duration, int cooldown = 5, AbilityTarget target = AbilityTarget.None, AbilityElement element = AbilityElement.None, string name = "", string description = "" ) : System | ||
cost | int | by default 2 |
intensity | int | by default 1 |
duration | int | by default 0 |
cooldown | int | by default 5 |
target | AbilityTarget | |
element | AbilityElement | |
name | string | |
description | string | |
return | System |
public Load ( |
||
reader | ||
return | void |