def METHOD_NAME(self, agent_ids: List[GlobalAgentId]) -> np.ndarray:
    action_matrix = self.make_empty_previous_action(len(agent_ids))
    for index, agent_id in enumerate(agent_ids):
        if agent_id in self.previous_action_dict:
            action_matrix[index, :] = self.previous_action_dict[agent_id]
    return action_matrix