Class VectorGeneratorRotate

java.lang.Object
wbs.utils.util.providers.generator.vector.VectorGenerator
wbs.utils.util.providers.generator.vector.VectorGeneratorRotate
All Implemented Interfaces:
Provider, Refreshable

public class VectorGeneratorRotate extends VectorGenerator
A generator that, over a defined period, returns a vector that rotates around the origin with a radius defined by a NumProvider, where the axis about which it rotates is defined by a VectorProvider
  • Constructor Details

    • VectorGeneratorRotate

      public VectorGeneratorRotate(VectorGeneratorRotate clone)
      Clone constructor.
      Parameters:
      clone - The object to clone from.
    • VectorGeneratorRotate

      public VectorGeneratorRotate(VectorProvider about, NumProvider period, NumProvider radius, double initialProgress)
    • VectorGeneratorRotate

      public VectorGeneratorRotate(org.bukkit.util.Vector about, double period, double radius, double initialProgress)
    • VectorGeneratorRotate

      public VectorGeneratorRotate(org.bukkit.configuration.ConfigurationSection section, WbsSettings settings, String directory)
      Create this generator from a ConfigurationSection, logging errors in the given settings
      Parameters:
      section - The section where this generator is defined
      settings - The settings to log errors against
      directory - The path taken through the config to get to this point, for logging purposes
  • Method Details