org.bukkit.material
Interface Colorable

All Known Subinterfaces:
Sheep
All Known Implementing Classes:
Dye, Wool

public interface Colorable

An object that can be colored.


Method Summary
 DyeColor getColor()
          Gets the color of this object.
 void setColor(DyeColor color)
          Sets the color of this object to the specified DyeColor.
 

Method Detail

getColor

DyeColor getColor()
Gets the color of this object.

Returns:
The DyeColor of this object.

setColor

void setColor(DyeColor color)
Sets the color of this object to the specified DyeColor.

Parameters:
color - The color of the object, as a DyeColor.


Copyright © 2013. All Rights Reserved.