Class AbilityComponent
- Namespace
- TDMaker.Core.Components
- Assembly
- TDMaker.Core.dll
Prewarmed generic action channels for base behavior, tower abilities, and hero skills.
public sealed class AbilityComponent
- Inheritance
-
AbilityComponent
- Inherited Members
Constructors
AbilityComponent()
public AbilityComponent()
Properties
Count
Number of configured slots, including the always-active behavior slot.
public int Count { get; }
Property Value
Methods
GetCooldown(int, int)
Reads the remaining cooldown of a rank's action channel.
public float GetCooldown(int slot, int action)
Parameters
Returns
GetDefinition(int)
Reads an active rank payload; unpurchased slots return null.
public AbilityRankDef GetDefinition(int slot)
Parameters
slotint