UNPKG

warscript

Version:

A typescript library for Warcraft III using Warpack.

18 lines (17 loc) 754 B
/** @noSelfInFile */ import { CombatClassifications } from "../../object-data/auxiliary/combat-classification"; declare module "../unit" { interface Unit { isAllowedTarget(this: Unit, source: Unit, allowedTargetCombatClassifications: CombatClassifications): boolean; } } declare module "../unit" { namespace Unit { function getAllowedTargetsInRange(this: void, source: Unit, allowedTargetCombatClassifications: CombatClassifications, x: number, y: number, range: number): Unit[]; } } declare module "../unit" { namespace Unit { function getAllowedTargetsInCollisionRange(this: void, source: Unit, allowedTargetCombatClassifications: CombatClassifications, x: number, y: number, range: number): Unit[]; } }