Table of Contents

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

public float chance

Field Value

float

color

public Color color

Field Value

Color

counter

public float counter

Field Value

float

endPoint

public Vector2 endPoint

Field Value

Vector2

impactType

public int impactType

Field Value

int

intensity

public float intensity

Field Value

float

isTerrain

public bool isTerrain

Field Value

bool

lifeTime

public float lifeTime

Field Value

float

light

public bool 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

public bool permanent

Field Value

bool

pos

public Vector2 pos

Field Value

Vector2

rPoint

public Vector2 rPoint

Field Value

Vector2

radial

public bool radial

Field Value

bool

random

public bool random

Field Value

bool

ready

public bool ready

Field Value

bool

soundLoop

public DynamicSoundLoop soundLoop

Field Value

DynamicSoundLoop

soundType

public int soundType

Field Value

int

startPoint

public Vector2 startPoint

Field Value

Vector2

volume

public float volume

Field Value

float

width

public 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()

public void 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