3#ifndef TRAM_SDK_ENTITIES_DECORATION_H
4#define TRAM_SDK_ENTITIES_DECORATION_H
13class AnimationComponent;
14class PhysicsComponent;
Wrapper for an EntityComponent pointer.
Definition: entitycomponent.h:51
3D Model with an AnimationComponent attached to it.
Definition: decoration.h:19
void Load()
Loads an entity.
Definition: decoration.cpp:72
static void Register()
Definition: decoration.cpp:35
uint32_t decoration_flags
Definition: decoration.h:40
Component< AnimationComponent > animationcomponent
Definition: decoration.h:32
void Serialize()
Definition: decoration.cpp:123
Component< PhysicsComponent > physicscomponent
Definition: decoration.h:33
void SetParameters()
Called when either Entity::SetLocation or Entity::SetRotation is called.
Definition: decoration.cpp:65
name_t GetType()
Returns the type of the entity.
Definition: decoration.cpp:48
Decoration(const SharedEntityData &, const ValueArray &)
Definition: decoration.cpp:52
void MessageHandler(Message &msg)
Allows entities to receive messages.
Definition: decoration.cpp:127
name_t animation
Definition: decoration.h:38
void RequestAnimationComponent()
Definition: decoration.cpp:102
name_t model
Definition: decoration.h:37
void Unload()
Unloads an entity.
Definition: decoration.cpp:113
Component< RenderComponent > rendercomponent
Definition: decoration.h:31
void UpdateParameters()
Called when Entity::UpdateTransform is called.
Definition: decoration.cpp:58
Entity base class.
Definition: entity.h:23
Message data.
Definition: message.h:16
Basic Entity parameters.
Definition: entity.h:132
Interned string type.
Definition: uid.h:10