13 lines
348 B
C++
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);
|
|
};
|