Tramway SDK
staticworldobject.h
Go to the documentation of this file.
1// TRAMWAY DRIFT AND DUNGEON EXPLORATION SIMULATOR 2022
2// All rights reserved.
3
4#ifndef ENTITIES_STATICWORLDOBJECT_H
5#define ENTITIES_STATICWORLDOBJECT_H
6
7#include <framework/entity.h>
10
11namespace tram {
12
13class RenderComponent;
14class PhysicsComponent;
15
16class StaticWorldObject : public Entity {
17public:
19 void UpdateParameters();
20 void SetParameters();
21 void Load();
22 void Unload();
23 void Serialize();
24 void MessageHandler(Message& msg);
26 static void Register();
27protected:
30
33};
34
35}
36
37#endif // ENTITIES_STATICWORLDOBJECT_H
Wrapper for an EntityComponent pointer.
Definition: entitycomponent.h:53
Definition: entity.h:20
Definition: staticworldobject.h:16
StaticWorldObject(const SharedEntityData &, const ValueArray &)
Definition: staticworldobject.cpp:37
name_t model
Definition: staticworldobject.h:31
void UpdateParameters()
Definition: staticworldobject.cpp:42
void SetParameters()
Definition: staticworldobject.cpp:49
Component< RenderComponent > rendercomponent
Definition: staticworldobject.h:28
name_t lightmap
Definition: staticworldobject.h:32
name_t GetType()
Definition: staticworldobject.cpp:33
void Serialize()
Definition: staticworldobject.cpp:87
static void Register()
Definition: staticworldobject.cpp:21
void Load()
Definition: staticworldobject.cpp:58
void MessageHandler(Message &msg)
Definition: staticworldobject.cpp:92
void Unload()
Definition: staticworldobject.cpp:79
Component< PhysicsComponent > physicscomponent
Definition: staticworldobject.h:29
Definition: value.h:336
Definition: api.h:9
Definition: message.h:16
Definition: entity.cpp:26
Definition: uid.h:11