mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5999 3b4a5df2-a311-0410-b5c6-a8a6f20db521
33 lines
854 B
C++
33 lines
854 B
C++
/**
|
|
* @file
|
|
* @author feynman (bears-pit.com)
|
|
*/
|
|
|
|
#ifndef LEGACY_AI_PLAN_H_
|
|
#define LEGACY_AI_PLAN_H_
|
|
|
|
#include "Plan.h"
|
|
|
|
namespace AI
|
|
{
|
|
namespace tactical
|
|
{
|
|
/**@class LegacyAIPlan
|
|
* @brief Component/Concrete Product. Generates a Plan that executes the AI as it was before modularization.
|
|
*
|
|
* A simple encapsulation of the functions TurnBasedHandleNPCAI() and RTHandleAI(), defined in
|
|
* TacticalAI/AIMain.cpp and TacticalAI/Realtime.cpp, respectively. The AI handles decisions for all kinds of
|
|
* NPCs (enemies, zombies, civilians, ...)
|
|
*/
|
|
class LegacyAIPlan: public Plan
|
|
{
|
|
private:
|
|
public:
|
|
virtual void execute(bool turn_based, PlanInputData& manipulated_object);
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|