get_nth


Description:

public unowned Entity get_nth (int idx)

Retrieves the element in the list at position idx.

If idx is less than zero, or greater than the number of elements in the list, the results are undefined.

Parameters:

this

the entity list

idx

the list position to fetch

Returns:

the list element or null