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:
31
AI/Nullkiller2/Engine/FuzzyHelper.h
Normal file
31
AI/Nullkiller2/Engine/FuzzyHelper.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* FuzzyHelper.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 "FuzzyEngines.h"
|
||||
|
||||
namespace NKAI
|
||||
{
|
||||
|
||||
class Nullkiller2;
|
||||
|
||||
class DLL_EXPORT FuzzyHelper
|
||||
{
|
||||
private:
|
||||
const Nullkiller2 * ai;
|
||||
TacticalAdvantageEngine tacticalAdvantageEngine;
|
||||
|
||||
public:
|
||||
FuzzyHelper(const Nullkiller2 * ai): ai(ai) {}
|
||||
|
||||
ui64 evaluateDanger(const CGObjectInstance * obj);
|
||||
ui64 evaluateDanger(const int3 & tile, const CGHeroInstance * visitor, bool checkGuards = true);
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user