public class ActionConverter
extends java.lang.Object
| Constructor and Description |
|---|
ActionConverter() |
| Modifier and Type | Method and Description |
|---|---|
static ActionDelay.Action |
getActionFromInt(int i)
Converts a integer into an Action enumeration.
|
static int |
getIntFromAction(ActionDelay.Action action)
Converts an Action enumeration into the related integer.
|
public static ActionDelay.Action getActionFromInt(int i)
i - Integer linked to an action.public static int getIntFromAction(ActionDelay.Action action)
action - Enumeration value.