You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_env_object now accepts ID, type and name.
Split this function into:
get_env_object(agent_id). Which returns 1 object (with that ID) or False
filter_env_objects(obj_type=False, obj_name=False). Which returns a list of objects which meet the specified criteria. No criteria returns all env objects.
The text was updated successfully, but these errors were encountered:
We now have a handy state object with built-in helper methods for filtering and finding objects and agents. It is available in agents, actions, loggers, object (update function). See among others #202.
Tuesday Jan 21, 2020 at 13:20 GMT
Originally opened as matrxs/MATRXS#15
get_env_object now accepts ID, type and name.
Split this function into:
get_env_object(agent_id)
. Which returns 1 object (with that ID) or Falsefilter_env_objects(obj_type=False, obj_name=False)
. Which returns a list of objects which meet the specified criteria. No criteria returns all env objects.The text was updated successfully, but these errors were encountered: