Renamed many events/constants to be not past tense <-- Major Break says: "HI"

This commit is contained in:
Erik Broes
2011-03-13 15:21:09 +01:00
parent 422f5b616d
commit a6a128197c
10 changed files with 43 additions and 51 deletions

View File

@@ -0,0 +1,42 @@
package org.bukkit.event.entity;
import org.bukkit.entity.Entity;
import org.bukkit.event.Cancellable;
public class ExplosionPrimeEvent extends EntityEvent implements Cancellable {
private boolean cancel;
private float radius;
private boolean fire;
public ExplosionPrimeEvent(Type type, Entity what, float radius, boolean fire) {
super(type.EXPLOSION_PRIME, what);
this.cancel = false;
this.radius = radius;
this.fire = fire;
}
public boolean isCancelled() {
return cancel;
}
public void setCancelled(boolean cancel) {
this.cancel = cancel;
}
public float getRadius() {
return radius;
}
public void setRadius(float radius) {
this.radius = radius;
}
public boolean getFire() {
return fire;
}
public void setFire(boolean fire) {
this.fire = fire;
}
}