SparseEnv.get_object_ids#

SparseEnv.get_object_ids() dict[GridObject, int]#

Get ids for all grid object types.

Returns:

Dictionary containing all grid object types with their corresponding ids in the observation_space.

Return type:

dict[objects.GridObject, int]