Class CastSpell

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

Casts an unlocked ready spell at a validated point.

public sealed class CastSpell : ICommand
Inheritance
CastSpell
Implements
Inherited Members

Constructors

CastSpell(int, Vec2)

Creates a spell command.

public CastSpell(int spellIndex, Vec2 position)

Parameters

spellIndex int
position Vec2

Properties

Position

Desired cast position.

public Vec2 Position { get; }

Property Value

Vec2

SpellIndex

Available spell index.

public int SpellIndex { get; }

Property Value

int