Nebula
Loading...
Searching...
No Matches
Nebula.Game.World Class Reference

Public Member Functions

Entity CreateEntity (string template)
 
void CollectGarbage ()
 

Static Public Member Functions

static World Get (uint id)
 

Static Public Attributes

static readonly uint DEFAULT_WORLD = Api.GetDefaultWorldId()
 

Properties

uint Id [get]
 

Private Member Functions

void RegisterEntity (Entity entity)
 
 World (uint id)
 

Static Private Member Functions

static World ()
 

Private Attributes

uint id
 
List< Entityentities
 

Static Private Attributes

static readonly World tempDefaultWorld = new World(DEFAULT_WORLD)
 

Constructor & Destructor Documentation

◆ World() [1/2]

static Nebula.Game.World.World ( )
inlinestaticprivate

◆ World() [2/2]

Nebula.Game.World.World ( uint id)
inlineprivate

Member Function Documentation

◆ CollectGarbage()

void Nebula.Game.World.CollectGarbage ( )
inline

◆ CreateEntity()

Entity Nebula.Game.World.CreateEntity ( string template)
inline

◆ Get()

static World Nebula.Game.World.Get ( uint id)
inlinestatic

◆ RegisterEntity()

void Nebula.Game.World.RegisterEntity ( Entity entity)
inlineprivate

Member Data Documentation

◆ DEFAULT_WORLD

readonly uint Nebula.Game.World.DEFAULT_WORLD = Api.GetDefaultWorldId()
static

◆ entities

List<Entity> Nebula.Game.World.entities
private

◆ id

uint Nebula.Game.World.id
private

◆ tempDefaultWorld

readonly World Nebula.Game.World.tempDefaultWorld = new World(DEFAULT_WORLD)
staticprivate

Property Documentation

◆ Id

uint Nebula.Game.World.Id
get

The documentation for this class was generated from the following file: