fromId

public final static JoystickView.DirectionType fromId(Integer id)

Return

The enum value for the given id. If not found, returns the value COMPLETE.

Parameters

id

The id for the enum value