mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Added missing from ModularizedTacticalAI :/
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6019 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* @file
|
||||
* @author feynman (bears-pit.com)
|
||||
*/
|
||||
|
||||
#ifndef LEGACY_CREATURE_PLAN_H_
|
||||
#define LEGACY_CREATURE_PLAN_H_
|
||||
|
||||
#include "Plan.h"
|
||||
|
||||
namespace AI
|
||||
{
|
||||
namespace tactical
|
||||
{
|
||||
/**@class LegacyCreaturePlan
|
||||
* @brief Component/Concrete Product. Wrapper/Re-Write of CreatureDecideAction()
|
||||
*
|
||||
* This plan began as a simple forwarding object for CreatureDecideAction(), and will, in the course of the AI redesign,
|
||||
* be split into elementary NPC actions. It is as such only a intermediate product used to bring structure where
|
||||
* the is currently none.
|
||||
*/
|
||||
class LegacyCreaturePlan: public Plan
|
||||
{
|
||||
private:
|
||||
public:
|
||||
LegacyCreaturePlan(SOLDIERTYPE* npc);
|
||||
virtual void execute(PlanInputData& environment);
|
||||
virtual bool done() const {return false;}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user