Enum BoulderDashAnimation
- java.lang.Object
-
- java.lang.Enum<BoulderDashAnimation>
-
- org.refcodes.data.ext.boulderdash.BoulderDashAnimation
-
public enum BoulderDashAnimation extends java.lang.Enum<BoulderDashAnimation>
TheBoulderDashAnimation
defines the animations which can be retrieved by the accordingBoulderDashAnimationUrlsFactory
andBoulderDashAnimationInputStreamsFactory
.- Author:
- steiner
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BoulderDashPixmap[]
getBoulderDashPixmaps()
Gets the boulder dash pixmaps.static BoulderDashAnimation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BoulderDashAnimation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIAMOND
public static final BoulderDashAnimation DIAMOND
-
DIAMOND_BIRTH
public static final BoulderDashAnimation DIAMOND_BIRTH
-
MAGIC_WALL
public static final BoulderDashAnimation MAGIC_WALL
-
STEEL_WALL
public static final BoulderDashAnimation STEEL_WALL
-
ROCKFORD_BIRTH
public static final BoulderDashAnimation ROCKFORD_BIRTH
-
ROCKFORD_FACING_FORWARD_BLINKING
public static final BoulderDashAnimation ROCKFORD_FACING_FORWARD_BLINKING
-
ROCKFORD_FACING_FORWARD_TAPPING_FOOT
public static final BoulderDashAnimation ROCKFORD_FACING_FORWARD_TAPPING_FOOT
-
ROCKFORD_FACING_FORWARD_BLINKING_TAPPING_FOOT
public static final BoulderDashAnimation ROCKFORD_FACING_FORWARD_BLINKING_TAPPING_FOOT
-
ROCKFORD_FACING_LEFT
public static final BoulderDashAnimation ROCKFORD_FACING_LEFT
-
ROCKFORD_FACING_RIGHT
public static final BoulderDashAnimation ROCKFORD_FACING_RIGHT
-
FIREFLY
public static final BoulderDashAnimation FIREFLY
-
BUTTERFLY
public static final BoulderDashAnimation BUTTERFLY
-
AMOEBA
public static final BoulderDashAnimation AMOEBA
-
-
Method Detail
-
values
public static BoulderDashAnimation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BoulderDashAnimation c : BoulderDashAnimation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BoulderDashAnimation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getBoulderDashPixmaps
public BoulderDashPixmap[] getBoulderDashPixmaps()
Gets the boulder dash pixmaps.- Returns:
- the boulder dash pixmaps
-
-