4#ifndef TRAM_SDK_EXTENSIONS_KITCHENSINK_SOUNDTABLE_H
5#define TRAM_SDK_EXTENSIONS_KITCHENSINK_SOUNDTABLE_H
13 class AnimationComponent;
83 std::vector<AnimStateSpace> state_spaces;
84 std::vector<AnimState> states;
86 std::vector<AnimStateTransitionFrom> transition_from;
87 std::vector<AnimStateTransitionInto> transition_into;
88 std::vector<AnimStateTransitionDefault> transition_default;
Definition: animation.h:13
Definition: entitycomponent.h:18
Definition: animationtable.h:91
void SetAnimationComponent(AnimationComponent *component)
Definition: animationtable.h:99
void SwitchState(name_t state)
Definition: animationtable.h:96
AnimationTable * table
Definition: animationtable.h:102
void SetAnimationTable(name_t name)
Definition: animationtable.h:98
std::vector< name_t > states
Definition: animationtable.h:104
AnimationComponent * GetAnimationComponent()
Definition: animationtable.h:100
AnimationComponent * component
Definition: animationtable.h:103
void EventHandler(Event &event)
Definition: animationtable.h:93
Definition: animationtable.h:61
AnimationTable(name_t name)
Definition: animationtable.h:63
void AddTransition(AnimStateTransitionFrom)
Definition: animationtable.cpp:194
void AddStateSpace(name_t name, name_t parent)
Definition: animationtable.cpp:155
void SetStateAnimation(name_t state, name_t animation_name, uint32_t repeats, float weight, float speed, bool pause_last)
Definition: animationtable.cpp:170
void SetStateNextState(name_t state, name_t next_state)
Definition: animationtable.cpp:184
void SwitchState(name_t state, AnimationStateComponent *state_component)
Definition: animationtable.cpp:33
static AnimationTable * Find(name_t name)
Definition: animationtable.cpp:22
void AddState(name_t state, name_t space)
Definition: animationtable.cpp:165
Definition: animationtable.h:23
uint32_t repeats
Definition: animationtable.h:27
name_t name
Definition: animationtable.h:24
bool interpolate
Definition: animationtable.h:30
name_t state_space
Definition: animationtable.h:33
float speed
Definition: animationtable.h:29
bool pause_last
Definition: animationtable.h:31
name_t next_state
Definition: animationtable.h:35
float weight
Definition: animationtable.h:28
name_t animation
Definition: animationtable.h:26
Definition: animationtable.h:18
name_t parent
Definition: animationtable.h:20
name_t name
Definition: animationtable.h:19
Definition: animationtable.h:52
float fade_out_time
Definition: animationtable.h:56
float fade_in_time
Definition: animationtable.h:55
name_t state
Definition: animationtable.h:53
Definition: animationtable.h:38
name_t into_state
Definition: animationtable.h:40
float fade_time
Definition: animationtable.h:42
name_t from_state
Definition: animationtable.h:39
Definition: animationtable.h:45
name_t into_state
Definition: animationtable.h:47
float fade_time
Definition: animationtable.h:49
name_t from_state
Definition: animationtable.h:46