Class LightningMachine
- Namespace
- MoreSlugcats
- Assembly
- Assembly-CSharp.dll
public class LightningMachine : UpdatableAndDeletable
- Inheritance
-
LightningMachine
- Inherited Members
-
Constructors
LightningMachine(Vector2, Vector2, Vector2, float, bool, bool, float, float, float)
public LightningMachine(Vector2 pos, Vector2 startPoint, Vector2 endPoint, float chance, bool permanent, bool radial, float width, float intensity, float lifeTime)
Parameters
pos Vector2
startPoint Vector2
endPoint Vector2
chance float
permanent bool
radial bool
width float
intensity float
lifeTime float
Fields
chance
Field Value
- float
color
Field Value
- Color
counter
Field Value
- float
endPoint
Field Value
- Vector2
impactType
Field Value
- int
intensity
Field Value
- float
isTerrain
Field Value
- bool
lifeTime
Field Value
- float
light
Field Value
- bool
lightningParam
public float lightningParam
Field Value
- float
lightningType
public float lightningType
Field Value
- float
permaLightning
public LightningBolt permaLightning
Field Value
- LightningBolt
permanent
Field Value
- bool
pos
Field Value
- Vector2
rPoint
Field Value
- Vector2
radial
Field Value
- bool
random
Field Value
- bool
ready
Field Value
- bool
soundLoop
public DynamicSoundLoop soundLoop
Field Value
- DynamicSoundLoop
soundType
Field Value
- int
startPoint
public Vector2 startPoint
Field Value
- Vector2
volume
Field Value
- float
width
Field Value
- float
Properties
Source
public Vector2 Source { get; }
Property Value
- Vector2
Target
public Vector2 Target { get; }
Property Value
- Vector2
rSecPoint
public Vector2 rSecPoint { get; }
Property Value
- Vector2
Methods
PermaLightning()
public void PermaLightning()
RadialLightning()
public void RadialLightning()
Strike()
Trace(Vector2, Vector2)
public Vector2 Trace(Vector2 start, Vector2 end)
Parameters
start Vector2
end Vector2
Returns
- Vector2
Update(bool)
public override void Update(bool eu)
Parameters
eu bool