From 91e589d1678a8187c307e09b98b67ec4133092ff Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 19 Jan 2019 01:44:05 +0800 Subject: =?UTF-8?q?*=E6=B8=B8=E6=88=8F=E6=A1=86=E6=9E=B6=E6=94=B9=E7=94=A8?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/Asura.Engine/AI/BehaviorTree.cpp | 0 Source/Asura.Engine/AI/BehaviorTree.h | 0 Source/Asura.Engine/AI/StateMachine.cpp | 0 Source/Asura.Engine/AI/StateMachine.h | 33 +++++++++++++++++++++++++++++++++ Source/Asura.Engine/AI/StateMap.cpp | 0 Source/Asura.Engine/AI/StateMap.h | 25 +++++++++++++++++++++++++ 6 files changed, 58 insertions(+) create mode 100644 Source/Asura.Engine/AI/BehaviorTree.cpp create mode 100644 Source/Asura.Engine/AI/BehaviorTree.h create mode 100644 Source/Asura.Engine/AI/StateMachine.cpp create mode 100644 Source/Asura.Engine/AI/StateMachine.h create mode 100644 Source/Asura.Engine/AI/StateMap.cpp create mode 100644 Source/Asura.Engine/AI/StateMap.h (limited to 'Source/Asura.Engine/AI') diff --git a/Source/Asura.Engine/AI/BehaviorTree.cpp b/Source/Asura.Engine/AI/BehaviorTree.cpp new file mode 100644 index 0000000..e69de29 diff --git a/Source/Asura.Engine/AI/BehaviorTree.h b/Source/Asura.Engine/AI/BehaviorTree.h new file mode 100644 index 0000000..e69de29 diff --git a/Source/Asura.Engine/AI/StateMachine.cpp b/Source/Asura.Engine/AI/StateMachine.cpp new file mode 100644 index 0000000..e69de29 diff --git a/Source/Asura.Engine/AI/StateMachine.h b/Source/Asura.Engine/AI/StateMachine.h new file mode 100644 index 0000000..17f8945 --- /dev/null +++ b/Source/Asura.Engine/AI/StateMachine.h @@ -0,0 +1,33 @@ +#ifndef __AE_STATEMACHINE_H__ +#define __AE_STATEMACHINE_H__ + +#include "StateMap.h" +#include "Component.h" + +namespace AsuraEngine +{ + namespace AI + { + + /// + /// 作为state map的代理 + /// + class StateMachine : public Component + { + public: + + + + private: + + /// + /// Statemachine 所使用的state图 + /// + StateMap* mStateMap; + + }; + + } +} + +#endif \ No newline at end of file diff --git a/Source/Asura.Engine/AI/StateMap.cpp b/Source/Asura.Engine/AI/StateMap.cpp new file mode 100644 index 0000000..e69de29 diff --git a/Source/Asura.Engine/AI/StateMap.h b/Source/Asura.Engine/AI/StateMap.h new file mode 100644 index 0000000..873e1d9 --- /dev/null +++ b/Source/Asura.Engine/AI/StateMap.h @@ -0,0 +1,25 @@ +#ifndef __AE_STATEMAP_H__ +#define __AE_STATEMAP_H__ + +#include "Filesystem/Asset.h" + +namespace AsuraEngine +{ + namespace AI + { + + class StateMap : public Filesystem::Asset + { + public: + + + private: + + + + }; + + } +} + +#endif \ No newline at end of file -- cgit v1.1-26-g67d0