Matchup beta
Interface of @v12-engine/engine/ai
ts
export interface MatchupWhat one side of a matchup is worth against the other, with how (Strength.matchup): the strength of each of its units against the opponent, summed
Members
count
ts
count: number;How many fought: units with health left and an attack
plain
ts
plain: number;The side's strength on its own, against no one in particular
strength
ts
strength: number;The side's strength against the opponent: 0 where none of it can hit any of them