Package ch.njol.skript.classes
Class VectorArithmethic
java.lang.Object
ch.njol.skript.classes.VectorArithmethic
- All Implemented Interfaces:
Arithmetic<org.bukkit.util.Vector,org.bukkit.util.Vector>
public class VectorArithmethic
extends Object
implements Arithmetic<org.bukkit.util.Vector,org.bukkit.util.Vector>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.util.Vector
add(org.bukkit.util.Vector value, org.bukkit.util.Vector difference)
org.bukkit.util.Vector
difference(org.bukkit.util.Vector first, org.bukkit.util.Vector second)
org.bukkit.util.Vector
divide(org.bukkit.util.Vector value, org.bukkit.util.Vector divider)
org.bukkit.util.Vector
multiply(org.bukkit.util.Vector value, org.bukkit.util.Vector multiplier)
org.bukkit.util.Vector
power(org.bukkit.util.Vector value, org.bukkit.util.Vector exponent)
org.bukkit.util.Vector
subtract(org.bukkit.util.Vector value, org.bukkit.util.Vector difference)
-
Constructor Details
-
VectorArithmethic
public VectorArithmethic()
-
-
Method Details
-
difference
public org.bukkit.util.Vector difference(org.bukkit.util.Vector first, org.bukkit.util.Vector second)- Specified by:
difference
in interfaceArithmetic<org.bukkit.util.Vector,org.bukkit.util.Vector>
-
add
public org.bukkit.util.Vector add(org.bukkit.util.Vector value, org.bukkit.util.Vector difference)- Specified by:
add
in interfaceArithmetic<org.bukkit.util.Vector,org.bukkit.util.Vector>
-
subtract
public org.bukkit.util.Vector subtract(org.bukkit.util.Vector value, org.bukkit.util.Vector difference)- Specified by:
subtract
in interfaceArithmetic<org.bukkit.util.Vector,org.bukkit.util.Vector>
-
multiply
public org.bukkit.util.Vector multiply(org.bukkit.util.Vector value, org.bukkit.util.Vector multiplier)- Specified by:
multiply
in interfaceArithmetic<org.bukkit.util.Vector,org.bukkit.util.Vector>
-
divide
public org.bukkit.util.Vector divide(org.bukkit.util.Vector value, org.bukkit.util.Vector divider)- Specified by:
divide
in interfaceArithmetic<org.bukkit.util.Vector,org.bukkit.util.Vector>
-
power
public org.bukkit.util.Vector power(org.bukkit.util.Vector value, org.bukkit.util.Vector exponent)- Specified by:
power
in interfaceArithmetic<org.bukkit.util.Vector,org.bukkit.util.Vector>
-