Function ActionHelpers::applySuccessfulAction

Function Documentation

GridCell ActionHelpers::applySuccessfulAction(const GridCell &cell, const Action &action)

Applies a successful action to a grid cell to get the new location.

Parameters:
  • cell – The current grid cell

  • action – The action to be executed

Returns:

The new location