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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface Arithmetic<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 interface Arithmetic<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 interface Arithmetic<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 interface Arithmetic<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 interface Arithmetic<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 interface Arithmetic<org.bukkit.util.Vector,​org.bukkit.util.Vector>