summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/Fireball.java
blob: 88876a47503826e0167ac581cb66a57b443c4e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.bukkit.entity;

import org.bukkit.util.Vector;

/**
 * Represents a Fireball.
 */
public interface Fireball extends Projectile, Explosive {

    /**
     * Fireballs fly straight and do not take setVelocity(...) well.
     *
     * @param direction
     *            the direction this fireball is flying toward
     */
    public void setDirection(Vector direction);

    /**
     * Retrieve the direction this fireball is heading toward
     *
     * @return the direction
     */
    public Vector getDirection();

}