1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

NKAI: namespace

This commit is contained in:
Andrii Danylchenko
2022-09-26 21:01:07 +03:00
parent 5c44c8f4da
commit eeea01d778
121 changed files with 713 additions and 471 deletions

View File

@@ -15,6 +15,9 @@
#include "../Behaviors/CaptureObjectsBehavior.h"
namespace NKAI
{
extern boost::thread_specific_ptr<CCallback> cb;
using namespace Goals;
@@ -37,4 +40,6 @@ std::string CaptureObject::toString() const
TGoalVec CaptureObject::decompose() const
{
return CaptureObjectsBehavior(cb->getObj(ObjectInstanceID(objid))).decompose();
}
}
}