Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package org.bukkit.entity;
2
3import org.bukkit.util.Vector;
4
5/**
6 * Represents a Fireball.
7 */
8public interface Fireball extends Projectile, Explosive {
9 /**
10 * Fireballs fly straight and do not take setVelocity(...) well.
11 *
12 * @param direction the direction this fireball is flying toward
13 */
14 public void setDirection(Vector direction);
15
16 /**
17 * Retrieve the direction this fireball is heading toward
18 *
19 * @return the direction
20 */
21 public Vector getDirection();
22
23}