World.children

Gets the world's children.

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

Return Value

Type: World[]

An array of worlds, empty if the world has no children

Examples

if(world.children.length) {
   log(world.name, " has ", world.children.length, " child(ren)");
}

Meta