Tramway SDK
|
Functions | |
void | Track (Entity *entity) |
Starts tracking an Entity. More... | |
void | Untrack (Entity *entity) |
Stops tracking a tracked Entity. More... | |
void | Update () |
Performs WorldCell loading and unloading. More... | |
Variables | |
std::set< id_t > | tracked_entities |
WorldCell streaming.
Provides services for application localization, character re-encoding, translation, etc.
void tram::Loader::Track | ( | Entity * | entity | ) |
Starts tracking an Entity.
See Loader::Update().
void tram::Loader::Untrack | ( | Entity * | entity | ) |
Stops tracking a tracked Entity.
See Loader::Untrack().
void tram::Loader::Update | ( | ) |
Performs WorldCell loading and unloading.
Calling this function will apply a constraint to the load status of all WorldCells, whereby cells which either contain a tracked entity, or are directly connected to such a cell, will be loaded, and all other cells will be unloaded. See also Loader::Track() and Loader::Untrack().
std::set<id_t> tram::Loader::tracked_entities |