Files
dota_factory/src/lib/ecs/system/ai/AttackExecutor.h
2026-06-15 09:16:56 +02:00

13 lines
348 B
C++

#pragma once
class EntityAdmin;
// When Attack wins, moves the ship toward its target and assigns that target to
// each weapon that has it in range. Weapons whose range excludes the target are
// left untouched so CombatSystem can keep/acquire a closer target (no thrash).
class AttackExecutor
{
public:
void execute(EntityAdmin& admin);
};