Skip to content

@lands.io/mod-sdk / ActionTarget

Interface: ActionTarget

Base target information for actions.

Hierarchy

  • ActionTarget

AttackTarget

BoatTarget

BreakthroughTarget

RetreatTarget

BuildDefensePostTarget

Table of contents

Properties

Properties

attackId

Optional attackId: string


targetPlayer

Optional targetPlayer: null | Player | TerraNullius


targetTile

Optional targetTile: number


troops

Optional troops: number


Source Code

View full implementation
/**
 * Base target information for actions.
 */
export interface ActionTarget {
  targetPlayer?: Player | TerraNullius | null;
  targetTile?: TileRef;
  troops?: number;
  attackId?: string;
}