Basic house ah
This commit is contained in:
@@ -2,14 +2,19 @@
|
||||
#include "IExamPlugin.h"
|
||||
#include "Exam_HelperStructs.h"
|
||||
|
||||
namespace BT{
|
||||
class BehaviorTree;
|
||||
}
|
||||
|
||||
class IBaseInterface;
|
||||
class IExamInterface;
|
||||
class Blackboard;
|
||||
|
||||
class SurvivalAgentPlugin :public IExamPlugin
|
||||
class SurvivalAgentPlugin final :public IExamPlugin
|
||||
{
|
||||
public:
|
||||
SurvivalAgentPlugin() {};
|
||||
virtual ~SurvivalAgentPlugin() {};
|
||||
SurvivalAgentPlugin() = default;
|
||||
virtual ~SurvivalAgentPlugin() override;
|
||||
|
||||
void Initialize(IBaseInterface* pInterface, PluginInfo& info) override;
|
||||
void DllInit() override;
|
||||
@@ -34,6 +39,10 @@ private:
|
||||
float m_AngSpeed = 0.f; //Demo purpose
|
||||
|
||||
UINT m_InventorySlot = 0;
|
||||
|
||||
Blackboard* CreateBlackboard();
|
||||
void UpdateBlackboard(const SteeringPlugin_Output& steering);
|
||||
BT::BehaviorTree* m_BehaviourTree = nullptr;
|
||||
};
|
||||
|
||||
//ENTRY
|
||||
@@ -41,7 +50,7 @@ private:
|
||||
//The plugin returned by this function is also the plugin used by the host program
|
||||
extern "C"
|
||||
{
|
||||
__declspec (dllexport) IPluginBase* Register()
|
||||
inline __declspec (dllexport) IPluginBase* Register()
|
||||
{
|
||||
return new SurvivalAgentPlugin();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user