Modifier and Type | Method | Description |
---|---|---|
DyeColor |
getColor() |
Gets the color of this object.
|
void |
setColor(DyeColor color) |
Sets the color of this object to the specified DyeColor.
|
@Nullable DyeColor getColor()
void setColor(DyeColor color)
color
- The color of the object, as a DyeColor.NullPointerException
- if argument is null and this implementation does not support nullCopyright © 2020. All rights reserved.