Mutable combat state derived from a Village. Owns building/wall hit points
and the occupancy arrays the pathfinder reads. What blocks movement and what
counts as a target are decided by the game's category flags (passable /
targetable) rather than a hardcoded category, so e.g. traps (passable,
non-targetable) are ignored in any game that declares them that way. All
state updates in place as things are destroyed so pathfinding stays
consistent through the battle.
Mutable combat state derived from a
Village. Owns building/wall hit points and the occupancy arrays the pathfinder reads. What blocks movement and what counts as a target are decided by the game's category flags (passable/targetable) rather than a hardcoded category, so e.g. traps (passable, non-targetable) are ignored in any game that declares them that way. All state updates in place as things are destroyed so pathfinding stays consistent through the battle.