matrx.api.api¶
Functions
|
Change the tick duration / simulation speed of MATRX |
Fetch the context menu opened for a specific object/location of the agent being controlled by the user. |
|
Fetch the context menu opened for a specific object/location of the agent being controlled by the user. |
|
|
Return a state for a set of agent IDs, filtered to only return the specified properties |
|
Provides the general information on the world, contained in the world object. |
|
Provides the latest state of one or multiple agents |
Provides all most recent information from MATRX for 1 agent: The state from the latest tick, and any new messages and chatrooms. |
|
Returns chatrooms and chat messages for one agent, or all agents. |
|
|
Provides the states of all agents (including the god view) from tick tick onwards to current tick. |
|
Provides the states starting from tick tick to current_tick, for the agents specified in agent_ids. |
Pause the MATRX simulation |
|
Send a message containing information to one or multiple specific agent, the agent’s team, or all agents. |
|
This function makes it possible to send a custom message to a MATRX agent via the API as a jsonpickle object. |
|
|
Can be used to send user input from the user (pressed keys) to the specified human agent(s) in MATRX |
|
Shuts down the api by stopping the Flask thread |
Starts / unpauses the MATRX simulation |
|
Stops MATRX scenario |