2021-05-15 19:23:05 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
2021-05-15 19:23:38 +03:00
|
|
|
#include "PriorityEvaluator.h"
|
|
|
|
|
#include "../Goals/AbstractGoal.h"
|
|
|
|
|
#include "../Behaviors/Behavior.h"
|
|
|
|
|
|
2021-05-15 19:23:05 +03:00
|
|
|
class Nullkiller
|
|
|
|
|
{
|
2021-05-15 19:23:38 +03:00
|
|
|
private:
|
|
|
|
|
std::unique_ptr<PriorityEvaluator> priorityEvaluator;
|
|
|
|
|
|
2021-05-15 19:23:05 +03:00
|
|
|
public:
|
2021-05-15 19:23:38 +03:00
|
|
|
Nullkiller();
|
2021-05-15 19:23:05 +03:00
|
|
|
void makeTurn();
|
2021-05-15 19:23:38 +03:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Goals::TSubgoal choseBestTask(Behavior & behavior);
|
|
|
|
|
Goals::TSubgoal choseBestTask(Goals::TGoalVec tasks);
|
2021-05-15 19:23:05 +03:00
|
|
|
};
|