001 package org.bukkit.entity;
002
003 import org.bukkit.util.Vector;
004
005 /**
006 * Represents a Fireball.
007 */
008 public interface Fireball extends Projectile, Explosive {
009
010 /**
011 * Fireballs fly straight and do not take setVelocity(...) well.
012 *
013 * @param direction the direction this fireball is flying toward
014 */
015 public void setDirection(Vector direction);
016
017 /**
018 * Retrieve the direction this fireball is heading toward
019 *
020 * @return the direction
021 */
022 public Vector getDirection();
023
024 }