001    /**
002     * Boat - Used for manipulating boats
003     * @author James
004     */
005    public class Boat extends BaseVehicle {
006        /**
007         * Interface for boats.
008         * @param boat
009         */
010        public Boat(gu boat) {
011            super(boat);
012        }
013        
014        /**
015         * Create a new Boat at the given position
016         * @param x
017         * @param y
018         * @param z
019         */
020        public Boat(double x, double y, double z) {
021            super(new gu(etc.getMCServer().e, x, y, z));
022            etc.getMCServer().e.a(entity);        
023        }
024        
025        /**
026         * Returns the entity we're wrapping.
027         * @return
028         */ 
029        public gu getEntity() {
030            return (gu) entity;
031        }
032    }