001    package org.bukkit.material;
002    
003    import org.bukkit.DyeColor;
004    
005    /**
006     * An object that can be colored.
007     */
008    public interface Colorable {
009    
010        /**
011         * Gets the color of this object.
012         *
013         * @return The DyeColor of this object.
014         */
015        public DyeColor getColor();
016    
017        /**
018         * Sets the color of this object to the specified DyeColor.
019         *
020         * @param color The color of the object, as a DyeColor.
021         */
022        public void setColor(DyeColor color);
023    
024    }