Table of Contents

Class ZapCoil

Namespace
Global
Assembly
Assembly-CSharp.dll
public class ZapCoil : UpdatableAndDeletable, IDrawable
Inheritance
ZapCoil
Implements
Inherited Members

Constructors

ZapCoil(IntRect, Room)

public ZapCoil(IntRect rect, Room room)

Parameters

rect IntRect
room Room

Fields

disruptedLoop

public RectangularDynamicSoundLoop disruptedLoop

Field Value

RectangularDynamicSoundLoop

disruption

public float disruption

Field Value

float

flicker

public float[,] flicker

Field Value

float[,]

horizontalAlignment

public bool horizontalAlignment

Field Value

bool

lastTurnedOn

public float lastTurnedOn

Field Value

float

powered

public bool powered

Field Value

bool

rect

public IntRect rect

Field Value

IntRect

smoothDisruption

public float smoothDisruption

Field Value

float

soundLoop

public RectangularDynamicSoundLoop soundLoop

Field Value

RectangularDynamicSoundLoop

turnedOffCounter

public int turnedOffCounter

Field Value

int

turnedOn

public float turnedOn

Field Value

float

zapLit

public float zapLit

Field Value

float

Properties

GetFloatRect

public FloatRect GetFloatRect { get; }

Property Value

FloatRect

Methods

public void AddToContainer(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, FContainer newContatiner)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer

ApplyPalette(SpriteLeaser, RoomCamera, RoomPalette)

public void ApplyPalette(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, RoomPalette palette)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette

DrawSprites(SpriteLeaser, RoomCamera, float, Vector2)

public void DrawSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2

InitiateSprites(SpriteLeaser, RoomCamera)

public void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera

TriggerZap(Vector2, float)

public void TriggerZap(Vector2 zapContact, float massRad)

Parameters

zapContact Vector2
massRad float

Update(bool)

public override void Update(bool eu)

Parameters

eu bool