Files
DeltaZern/paper-api/src/main/java/org/bukkit/entity/Boat.java
T
2011-04-25 13:24:32 +02:00

23 lines
451 B
Java

package org.bukkit.entity;
/**
* Represents a boat entity.
*
* @author sk89q
*/
public interface Boat extends Vehicle {
/**
* Gets the maximum speed of a boat. The speed is unrelated to the velocity.
*
* @param speed
*/
public double getMaxSpeed();
/**
* Sets the maximum speed of a boat. Must be nonnegative. Default is 0.4D.
*
* @param speed
*/
public void setMaxSpeed(double speed);
}