Further refinement of new ModularizedTacticalAI architecture; added plans for Crows

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6017 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
feynman
2013-04-18 20:02:54 +00:00
parent 52cb4ff424
commit 26383d83a8
22 changed files with 451 additions and 490 deletions
@@ -11,12 +11,12 @@ namespace AI
{
namespace tactical
{
Plan* NullPlanFactory::create_plan(const AIInputData& input)
Plan* NullPlanFactory::create_plan(SOLDIERTYPE* npc, const AIInputData& input)
{
return new NullPlan();
return new NullPlan(npc);
}
void NullPlanFactory::update_plan(const AIInputData& input, Plan* plan_to_change)
void NullPlanFactory::update_plan(SOLDIERTYPE* npc, const AIInputData& input)
{
// the idea is to do nothing, so let's do it...
}