#pragma once #include "../Vehicle.h" #include "ArcanistGoalTypes.h" #include "GoalComposite.h" class GoalAttackTarget : public GoalComposite { public: explicit GoalAttackTarget(Vehicle* Owner) : GoalComposite(Owner, goal_attack_target) {} void Activate(); int Process(); void Terminate() { m_Status = completed; } void markOwnerWithGoal() { m_Owner->m_Goal = m_Type; } };