ksys/act: Start adding RootAi

This commit is contained in:
Léo Lam
2020-12-09 17:17:25 +01:00
parent cd10f3774b
commit fcbe17a3f0
9 changed files with 136 additions and 9 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "KingSystem/ActorSystem/actAiRoot.h"
namespace ksys::act::ai {
RootAi::RootAi(const InitArg& arg) : Ai(arg) {
mBehaviorsByStopAndCalcTiming[0].fill({});
mBehaviorsByStopAndCalcTiming[1].fill({});
}
RootAi::~RootAi() {
mQueries.finalize();
mBehaviors.finalize();
mAis.finalize();
mActions.finalize();
if (_140)
delete _140;
}
} // namespace ksys::act::ai