This method determines what happens when an action is applied in the given state with the given parameters. The State
object s may be directly modified in this method since the parent method (Action.performAction(burlap.oomdp.core.states.State, GroundedAction)
first copies the input state to pass
to this helper method. The resulting state (which may be s) should then be returned.