001 package org.bukkit.entity; 002 003 import org.bukkit.util.Vector; 004 005 /** 006 * Represents a vehicle entity. 007 */ 008 public interface Vehicle extends Entity { 009 010 /** 011 * Gets the vehicle's velocity. 012 * 013 * @return velocity vector 014 */ 015 public Vector getVelocity(); 016 017 /** 018 * Sets the vehicle's velocity. 019 * 020 * @param vel velocity vector 021 */ 022 public void setVelocity(Vector vel); 023 }