ModifySpeedEvent

The Modify Speed Event is an event called when a player or projectile of a player needs its speed modified.

Description
The ModifySpeedEvent is a class that adds one local variable: a speed double to modify a player's or projectile's speed.

Constructor
ModifySpeedEvent(Player who, EnchantmentLevel enchantment, double speed)
 * // Player who - the player having the modification done
 * // EnchantmentLevel enchantment - the enchantment and level doing the modification
 * // double speed - the change in speed for the player or a player's projectile

Implements
None

Extends
ModifyActionEvent

double getSpeed
Gets the speed change

void setSpeed(double speed)
Sets the speed change to the specified value