Made Pig extend Vehicle.
This commit is contained in:
parent
e304ff739a
commit
1b8709ff56
@ -2,20 +2,19 @@ package org.bukkit.entity;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a Pig.
|
* Represents a Pig.
|
||||||
*
|
|
||||||
* @author Cogito
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public interface Pig extends Animals {
|
public interface Pig extends Animals, Vehicle {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author xPaw
|
* Check if the pig has a saddle.
|
||||||
|
*
|
||||||
* @return if the pig has been saddled.
|
* @return if the pig has been saddled.
|
||||||
*/
|
*/
|
||||||
public boolean hasSaddle();
|
public boolean hasSaddle();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author xPaw
|
* Sets if the pig has a saddle or not
|
||||||
|
*
|
||||||
* @param saddled set if the pig has a saddle or not.
|
* @param saddled set if the pig has a saddle or not.
|
||||||
*/
|
*/
|
||||||
public void setSaddle(boolean saddled);
|
public void setSaddle(boolean saddled);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user