Skip to content

@lands.io/mod-sdk / RetreatTarget

Interface: RetreatTarget

Target information for retreat actions.

Hierarchy

RetreatTarget

Table of contents

Properties

Properties

attack

Optional attack: Attack


attackId

attackId: string

Overrides

ActionTarget.attackId


targetPlayer

Optional targetPlayer: null | Player | TerraNullius

Inherited from

ActionTarget.targetPlayer


targetTile

Optional targetTile: number

Inherited from

ActionTarget.targetTile


troops

Optional troops: number

Inherited from

ActionTarget.troops


Source Code

View full implementation
/**
 * Target information for retreat actions.
 */
export interface RetreatTarget extends ActionTarget {
  attackId: string;
  attack?: Attack;
}