/// <summary> /// Updates the local action buffer with the action buffer passed in. If the buffer /// passed in is null, the local action buffer will be cleared. /// </summary> /// <param name="continuousActionBuffer">The action buffer which contains all of the /// continuous actions for the IActuators in this list.</param> /// <param name="discreteActionBuffer">The action buffer which contains all of the /// discrete actions for the IActuators in this list.</param> public void UpdateActions(ActionBuffers actions) { ReadyActuatorsForExecution(); UpdateActionArray(actions.ContinuousActions, StoredActions.ContinuousActions); UpdateActionArray(actions.DiscreteActions, StoredActions.DiscreteActions); }