makeFlag
Shifts the given direction flags to the offset of the given action state.
Return
And integer that represents the given directions in the provided actionState.
Parameters
actionState
The action state you want to get flags in. Should be one of ACTION_STATE_IDLE, ACTION_STATE_SWIPE or ACTION_STATE_DRAG.