From bb87bcdd74afee1c4d291fd962c278de0ea8f66b Mon Sep 17 00:00:00 2001 From: sk89q Date: Mon, 3 Jan 2011 14:10:49 +0800 Subject: Renamed ArrowEntity->Arrow to be consistent. --- src/main/java/org/bukkit/Arrow.java | 9 +++++++++ src/main/java/org/bukkit/ArrowEntity.java | 9 --------- src/main/java/org/bukkit/World.java | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 src/main/java/org/bukkit/Arrow.java delete mode 100644 src/main/java/org/bukkit/ArrowEntity.java (limited to 'src/main/java') diff --git a/src/main/java/org/bukkit/Arrow.java b/src/main/java/org/bukkit/Arrow.java new file mode 100644 index 00000000..bdbe263b --- /dev/null +++ b/src/main/java/org/bukkit/Arrow.java @@ -0,0 +1,9 @@ +package org.bukkit; + +/** + * Represents an arrow. + * + * @author sk89q + */ +public interface Arrow extends Entity { +} diff --git a/src/main/java/org/bukkit/ArrowEntity.java b/src/main/java/org/bukkit/ArrowEntity.java deleted file mode 100644 index d1b24c29..00000000 --- a/src/main/java/org/bukkit/ArrowEntity.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.bukkit; - -/** - * Represents an arrow. - * - * @author sk89q - */ -public interface ArrowEntity extends Entity { -} diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index acbfbacc..deef7314 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -53,7 +53,7 @@ public interface World { * @param spread a reasonable spread is 12 * @return the arrow entity */ - public ArrowEntity spawnArrow(Location loc, Vector velocity, + public Arrow spawnArrow(Location loc, Vector velocity, float speed, float spread); /** -- cgit v1.2.3