4#ifndef TRAM_SDK_EXTENSIONS_KITCHENSINK_AI_H
5#define TRAM_SDK_EXTENSIONS_KITCHENSINK_AI_H
14 class ControllerComponent;
18 class AnimationStateComponent;
Definition: controller.h:16
name_t script
Definition: ai.h:100
std::vector< AIVariable > variables
Definition: ai.h:102
void Update()
Definition: ai.cpp:49
void SetAnimationStateComponent(AnimationStateComponent *c)
Definition: ai.h:113
AnimationStateComponent * GetAnimationStateComponent()
Definition: ai.h:115
void SetControllerComponent(ControllerComponent *c)
Definition: ai.h:112
std::vector< AIPackage * > override_stack
Definition: ai.h:98
void PushOverride(AIPackage *)
static AIAgent * Find(id_t id)
Definition: ai.cpp:65
ControllerComponent * GetControllerComponent()
Definition: ai.h:114
std::vector< AIPackage * > package_stack
Definition: ai.h:97
static void Register(name_t name, ai_package_constr constr)
Definition: ai.cpp:34
AIAgent * parent
Definition: ai.h:88
static AIPackage * Make(name_t name, valuearray_t params)
Definition: ai.cpp:38
virtual ~AIPackage()=default
Definition: animationtable.h:91
Generic, type-safe union.
Definition: value.h:18
AIPackage *(* ai_package_constr)(valuearray_t)
Definition: ai.h:74
void UpdateAI()
Definition: ai.cpp:30
void InitAI()
Definition: ai.cpp:21
uint32_t id_t
Definition: core.h:11
ValueArray valuearray_t
Definition: value.h:347
Value value
Definition: ai.h:92