World.parent

Gets the world's parent world.

class World
final pure nothrow @property @safe @nogc
parent
()

Return Value

Type: World

A world instance if the world has a parent, null otherwise

Examples

if(world.parent !is null) {
   assert(world.parent.canFind(world));
}

Meta