Function ActionHelpers::toInt

Function Documentation

int ActionHelpers::toInt(const Action &action)

Converts an action into an int.

Parameters:

action – The action to convert to an int

Returns:

The action as an int