Package com.fs.starfarer.api.impl.combat
Class RiftCascadeEffect
java.lang.Object
com.fs.starfarer.api.impl.combat.RiftCascadeEffect
- All Implemented Interfaces:
BeamEffectPlugin
Colors are:
beam fringe color, for beam fringe and emp arcs
beam glow color (beam weapon glow)
mine glow color (border around core of explosion, also pings?)
mine ping color (should be same as glow color)
explosion undercolor (specified in code only)
color subtracted around source of beam (code only)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.lwjgl.util.vector.Vector2f
protected boolean
static Color
static int
static Color
protected int
protected org.lwjgl.util.vector.Vector2f
static String
static float
static float
protected float
protected float
static Color
protected IntervalUtil
protected float
static float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount, CombatEngineAPI engine, BeamAPI beam) org.lwjgl.util.vector.Vector2f
getNextArcLoc
(CombatEngineAPI engine, BeamAPI beam, float perSpawn) float
void
void
spawnNegativeParticles
(CombatEngineAPI engine, BeamAPI beam)
-
Field Details
-
STANDARD_RIFT_COLOR
-
EXPLOSION_UNDERCOLOR
-
NEGATIVE_SOURCE_COLOR
-
RIFTCASCADE_MINELAYER
-
MAX_RIFTS
public static int MAX_RIFTS -
UNUSED_RANGE_PER_SPAWN
public static float UNUSED_RANGE_PER_SPAWN -
SPAWN_SPACING
public static float SPAWN_SPACING -
SPAWN_INTERVAL
public static float SPAWN_INTERVAL -
arcFrom
protected org.lwjgl.util.vector.Vector2f arcFrom -
prevMineLoc
protected org.lwjgl.util.vector.Vector2f prevMineLoc -
doneSpawningMines
protected boolean doneSpawningMines -
spawned
protected float spawned -
numToSpawn
protected int numToSpawn -
untilNextSpawn
protected float untilNextSpawn -
spawnDir
protected float spawnDir -
tracker
-
-
Constructor Details
-
RiftCascadeEffect
public RiftCascadeEffect()
-
-
Method Details
-
advance
- Specified by:
advance
in interfaceBeamEffectPlugin
-
spawnNegativeParticles
-
getNextArcLoc
public org.lwjgl.util.vector.Vector2f getNextArcLoc(CombatEngineAPI engine, BeamAPI beam, float perSpawn) -
getSizeMult
public float getSizeMult() -
spawnMine
-