4#ifndef TRAM_SDK_FRAMEWORK_WORLDCELL_H
5#define TRAM_SDK_FRAMEWORK_WORLDCELL_H
Definition: transition.h:16
Definition: worldcell.h:18
void AddEntity(Entity *entity)
Definition: worldcell.cpp:104
bool interior
Definition: worldcell.h:58
void RemoveEntity(Entity *entity)
Definition: worldcell.cpp:118
std::vector< Entity * > entities
Definition: worldcell.h:62
void AddTransitionInto(Transition *transition)
Definition: worldcell.h:43
void SetInteriorLights(bool interior_lights)
Definition: worldcell.h:30
bool IsInterior()
Definition: worldcell.h:23
void Load()
Definition: worldcell.cpp:57
void SetDebugDraw(bool debug_draw)
Definition: worldcell.h:31
bool IsInside(vec3 point)
Definition: worldcell.cpp:96
void LoadFromDisk()
Definition: worldcell.cpp:122
bool interior_lighting
Definition: worldcell.h:59
std::vector< Transition * > transitions_from
Definition: worldcell.h:64
bool loaded
Definition: worldcell.h:60
size_t GetEntityCount()
Definition: worldcell.h:41
bool IsDebugDraw()
Definition: worldcell.h:25
const std::vector< Entity * > & GetEntities()
Definition: worldcell.h:48
void AddTransitionFrom(Transition *transition)
Definition: worldcell.h:44
name_t name
Definition: worldcell.h:57
void SetInterior(bool interior)
Definition: worldcell.h:29
WorldCell(name_t name)
Definition: worldcell.h:20
static WorldCell * Find(vec3 point)
Definition: worldcell.cpp:44
static WorldCell * Make(name_t name)
Definition: worldcell.cpp:33
name_t GetName()
Definition: worldcell.h:27
bool debug_draw
Definition: worldcell.h:61
void Unload()
Definition: worldcell.cpp:71
WorldCell * FindTransition(vec3 point)
Definition: worldcell.cpp:88
std::vector< Transition * > transitions_into
Definition: worldcell.h:63
bool HasInteriorLighting()
Definition: worldcell.h:24
bool IsLoaded()
Definition: worldcell.h:22
glm::vec3 vec3
Definition: math.h:12