Function On-Agent-Step

Part of:

package org.rl-community.rl-glue-codec
( on-agent-step )
Handles the buffer operations for agent-step.