Enum Class SkinPart
- All Implemented Interfaces:
Serializable,Comparable<SkinPart>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SkinPartgetFromCoordinates(int x, int y) intgetRow()getRow(int row) getRows()static intgetRowY(int row) intgetSizeX()intgetSizeY()intgetX()intgetY()static SkinPartReturns the enum constant of this class with the specified name.static SkinPart[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HEAD_FRESH_MOVES_1
-
HEAD_TOP
-
HEAD_BOTTOM
-
HEAD_FRESH_MOVES_2
-
HEAD_OVERLAY_FRESH_MOVES_3
-
HEAD_OVERLAY_TOP
-
HEAD_OVERLAY_BOTTOM
-
HEAD_OVERLAY_FRESH_MOVES_4
-
HEAD_LEFT
-
HEAD_FRONT
-
HEAD_BACK
-
HEAD_RIGHT
-
HEAD_OVERLAY_RIGHT
-
HEAD_OVERLAY_FRONT
-
HEAD_OVERLAY_LEFT
-
HEAD_OVERLAY_BACK
-
RIGHT_LEG_EMPTY_1
-
RIGHT_LEG_TOP
-
RIGHT_LEG_BOTTOM
-
RIGHT_LEG_EMPTY_2
-
TORSO_EMPTY_1
-
TORSO_TOP
-
TORSO_BOTTOM
-
TORSO_EMPTY_2
-
RIGHT_ARM_EMPTY_1
-
RIGHT_ARM_TOP
-
RIGHT_ARM_BOTTOM
-
RIGHT_LEG_RIGHT
-
RIGHT_LEG_FRONT
-
RIGHT_LEG_LEFT
-
RIGHT_LEG_BACK
-
TORSO_RIGHT
-
TORSO_FRONT
-
TORSO_LEFT
-
TORSO_BACK
-
RIGHT_ARM_RIGHT
-
RIGHT_ARM_FRONT
-
RIGHT_ARM_LEFT
-
RIGHT_ARM_BACK
-
RIGHT_LEG_OVERLAY_EMPTY_1
-
RIGHT_LEG_OVERLAY_TOP
-
RIGHT_LEG_OVERLAY_BO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T_ARM_OVERLAY_RIGHT
-
LEFT_ARM_OVERLAY_FRONT
-
LEFT_ARM_OVERLAY_LEFT
-
LEFT_ARM_OVERLAY_BACK
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getRow
public int getRow() -
containsData
public boolean containsData() -
getX
public int getX() -
getY
public int getY() -
getSizeX
public int getSizeX() -
getSizeY
public int getSizeY() -
getTranslationKey
-
getRowY
public static int getRowY(int row) -
getRow
-
getRows
-
getFromCoordinates
-