Skip to content

Commit

Permalink
Add API to get and set collar colors of wolves
Browse files Browse the repository at this point in the history
  • Loading branch information
feildmaster committed Dec 6, 2012
1 parent d9dc8fc commit 089ab8e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/java/org/bukkit/entity/Wolf.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package org.bukkit.entity;

import org.bukkit.DyeColor;

/**
* Represents a Wolf
*/
Expand Down Expand Up @@ -35,4 +37,17 @@ public interface Wolf extends Animals, Tameable {
*/
public void setSitting(boolean sitting);

/**
* Get the collar color of this wolf
*
* @return the color of the collar
*/
public DyeColor getCollarColor();

/**
* Set the collar color of this wolf
*
* @param color the color to apply
*/
public void setCollarColor(DyeColor color);
}

0 comments on commit 089ab8e

Please sign in to comment.