Class RiftLanceEffect

java.lang.Object
com.fs.starfarer.api.impl.combat.RiftLanceEffect
All Implemented Interfaces:
BeamEffectPlugin

public class RiftLanceEffect extends Object implements BeamEffectPlugin
  • Field Details

    • MINE_SPAWN_CHANCE

      public static float MINE_SPAWN_CHANCE
    • done

      protected boolean done
  • Constructor Details

    • RiftLanceEffect

      public RiftLanceEffect()
  • Method Details

    • advance

      public void advance(float amount, CombatEngineAPI engine, BeamAPI beam)
      Specified by:
      advance in interface BeamEffectPlugin
    • spawnHitDarkening

      public void spawnHitDarkening(Color color, Color undercolor, org.lwjgl.util.vector.Vector2f point, org.lwjgl.util.vector.Vector2f vel, float size, float baseDuration)
    • getColorForDarkening

      public static Color getColorForDarkening(Color from)
    • spawnMine

      public void spawnMine(ShipAPI source, org.lwjgl.util.vector.Vector2f mineLoc)