Nez.Portable/PipelineRuntime/Tiled/TiledObjectGroup.cs
/// <summary>
/// gets all the TiledObjects with the given type
/// </summary>
/// <returns>The objects with matching types.</returns>
/// <param name="type">Type.</param>
gets all the TiledObjects with the given type
gets all the TiledObjects with the given type
public List<TiledObject> objectsWithType(string type)
        {
            var list = new List<TiledObject>();
            for (int i = 0; i < objects.Length; i++)
            {
                if (objects[i].type == type)
                    list.Add(objects[i]);
            }
            return list;
        }
public List < TiledObject > objectsWithType ( string type ) { var list = new List < TiledObject > ( ) ; for ( int i = 0 ; i < objects . Length ; i ++ ) { if ( objects [ i ] . type == type ) list . Add ( objects [ i ] ) ; } return list ; }
gets all the TiledObjects with the given type
gets all the TiledObjects with the given type
The objects with matching types.
The objects with matching types .
type
string
None