IEnumerable<MapNode> Children { get; set; }

robot_2Generated
code_blocksInput

Description

The Children property provides access to all child nodes of the MapWorld instance. This property returns an IEnumerable<MapNode>, allowing iteration over each child node within the world.

Usage

Use the Children property to access and iterate over the child nodes of a MapWorld object. This can be useful for operations that need to process or analyze each node within the world.

Example

// Example of iterating over the children of a MapWorld instance
MapWorld mapWorld = new MapWorld();

foreach (MapNode child in mapWorld.Children)
{
    // Perform operations with each child node
    Console.WriteLine(child.Name);
}