Tramway SDK
marker.h
Go to the documentation of this file.
1// Tramway Drifting and Dungeon Exploration Simulator SDK Runtime
2
3#ifndef TRAM_SDK_ENTITIES_MARKER_H
4#define TRAM_SDK_ENTITIES_MARKER_H
5
6#include <framework/entity.h>
8
9namespace tram {
10
11class Marker : public Entity {
12public:
13 Marker(const SharedEntityData&, const ValueArray&);
14
15 void UpdateParameters();
16 void SetParameters();
17 void Load();
18 void Unload();
19 void Serialize();
20 void MessageHandler(Message& msg);
22 static void Register();
23};
24
25}
26
27#endif // TRAM_SDK_ENTITIES_MARKER_H
Entity base class.
Definition: entity.h:23
Functionally inert.
Definition: marker.h:11
void UpdateParameters()
Called when Entity::UpdateTransform is called.
Definition: marker.cpp:39
Marker(const SharedEntityData &, const ValueArray &)
Definition: marker.cpp:17
void Load()
Loads an entity.
Definition: marker.cpp:41
void Serialize()
Definition: marker.cpp:43
static void Register()
Definition: marker.cpp:19
void SetParameters()
Called when either Entity::SetLocation or Entity::SetRotation is called.
Definition: marker.cpp:40
name_t GetType()
Returns the type of the entity.
Definition: marker.cpp:35
void Unload()
Unloads an entity.
Definition: marker.cpp:42
void MessageHandler(Message &msg)
Allows entities to receive messages.
Definition: marker.cpp:44
Definition: value.h:314
Serialization, i.e.
Message data.
Definition: message.h:16
Basic Entity parameters.
Definition: entity.h:132
Interned string type.
Definition: uid.h:10