Function ActionHelpers::fromInt

Function Documentation

Action ActionHelpers::fromInt(const int &num)

Converts an int into an action.

Parameters:

num – The number to convert

Throws:

badNum – Raised if an invalid integer passed in

Returns:

The correponding action