C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

class WorldMgr

Defined in:  C4World.h
The World Manager class.
Definition

class WorldMgr : public Manager<WorldMgr>

Member Functions
WorldMgr::GetWorld Returns the currently active world.
WorldMgr::SetWorldConstructor Installs a world class constructor function.
WorldMgr::LoadWorld Loads a world resource and makes it the current world.
WorldMgr::UnloadWorld Unloads the current world data.
WorldMgr::SaveDeltaWorld Saves a delta file for the current world.
WorldMgr::RestoreDeltaWorld Restores a previously saved delta file.
Description
The WorldMgr class encapsulates the high-level world management features of the C4 Engine. The single instance of the World Manager is constructed during an application's initialization and destroyed at termination.

The World Manager's member functions are accessed through the global pointer TheWorldMgr.
See Also

World