mlpy.agents.modules.UserModule.choose_action

UserModule.choose_action(_)[source]

Choose the next action.

Return the next action the agent will execute depending on the key/button pressed.

Returns:

MDPAction :

The next action