Color

public enum Color

Represents the base color that the horse has.

Entries

Link copied to clipboard

Snow white

Link copied to clipboard

Very light brown

Link copied to clipboard

Chestnut

Link copied to clipboard

Light brown

Link copied to clipboard

Pitch black

Link copied to clipboard

Gray

Link copied to clipboard

Dark brown

Functions

Link copied to clipboard
public static Horse.Color valueOf(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.)

Link copied to clipboard
public static Array<Horse.Color> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.