Defined in File action.h
Converts an action into an int.
action – The action to convert to an int
The action as an int