Class MoveHero

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

Orders a living hero to a validated destination, releasing its engagement.

public sealed class MoveHero : ICommand
Inheritance
MoveHero
Implements
Inherited Members

Constructors

MoveHero(int, Vec2)

Creates a hero movement command.

public MoveHero(int entityId, Vec2 position)

Parameters

entityId int
position Vec2

Properties

EntityId

Hero identifier.

public int EntityId { get; }

Property Value

int

Position

Desired destination.

public Vec2 Position { get; }

Property Value

Vec2