mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
cloned Nullkiller into Nullkiller2
This commit is contained in:
38
AI/Nullkiller2/Behaviors/ExplorationBehavior.h
Normal file
38
AI/Nullkiller2/Behaviors/ExplorationBehavior.h
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* ExplorationBehavior.h, part of VCMI engine
|
||||
*
|
||||
* Authors: listed in file AUTHORS in main folder
|
||||
*
|
||||
* License: GNU General Public License v2.0 or later
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "lib/GameLibrary.h"
|
||||
#include "../Goals/CGoal.h"
|
||||
#include "../AIUtility.h"
|
||||
|
||||
namespace NKAI
|
||||
{
|
||||
namespace Goals
|
||||
{
|
||||
class ExplorationBehavior : public CGoal<ExplorationBehavior>
|
||||
{
|
||||
public:
|
||||
ExplorationBehavior()
|
||||
:CGoal(EXPLORATION_BEHAVIOR)
|
||||
{
|
||||
}
|
||||
|
||||
TGoalVec decompose(const Nullkiller2 * ai) const override;
|
||||
std::string toString() const override;
|
||||
|
||||
bool operator==(const ExplorationBehavior & other) const override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user