Files
source/ModularizedTacticalAI/src/LegacyZombiePlan.cpp
T

27 lines
594 B
C++

/**
* @file
* @author feynman (bears-pit.com)
*/
#include "../include/LegacyZombiePlan.h"
#include "../../Tactical/Soldier Control.h" // definition of SOLDIERTYPE
INT8 ZombieDecideAction( SOLDIERTYPE *pSoldier ); // defined in DecideAction.cpp
namespace AI
{
namespace tactical
{
LegacyZombiePlan::LegacyZombiePlan(SOLDIERTYPE* npc)
: Plan(npc)
{
}
void LegacyZombiePlan::execute(PlanInputData& environment)
{
get_npc()->aiData.bAction = ZombieDecideAction(get_npc());
}
}
}