#749: Various javadoc improvements
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -35,6 +35,12 @@ public class EntityToggleGlideEvent extends EntityEvent implements Cancellable {
|
||||
this.cancel = cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the entity is now gliding or
|
||||
* false if the entity stops gliding.
|
||||
*
|
||||
* @return new gliding state
|
||||
*/
|
||||
public boolean isGliding() {
|
||||
return isGliding;
|
||||
}
|
||||
|
||||
@@ -29,6 +29,12 @@ public class EntityToggleSwimEvent extends EntityEvent implements Cancellable {
|
||||
this.cancel = cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the entity is now swims or
|
||||
* false if the entity stops swimming.
|
||||
*
|
||||
* @return new swimming state
|
||||
*/
|
||||
public boolean isSwimming() {
|
||||
return isSwimming;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user