Class BuyAbility

Namespace
TDMaker.Core.Commands
Assembly
TDMaker.Core.dll

Purchases the next rank in a tower ability slot.

public sealed class BuyAbility : ICommand
Inheritance
BuyAbility
Implements
Inherited Members

Constructors

BuyAbility(int, int)

Creates an ability purchase command.

public BuyAbility(int entityId, int abilityIndex)

Parameters

entityId int
abilityIndex int

Properties

AbilityIndex

Ability slot index.

public int AbilityIndex { get; }

Property Value

int

EntityId

Tower identifier.

public int EntityId { get; }

Property Value

int