Table of Contents

Class EnergySwirl

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

Constructors

EnergySwirl(Vector2, Color, UpdatableAndDeletable)

public EnergySwirl(Vector2 initPos, Color color, UpdatableAndDeletable tiedToObject)

Parameters

initPos Vector2
color Color
tiedToObject UpdatableAndDeletable

Fields

alpha

public float alpha

Field Value

float

c

public Color c

Field Value

Color

colorFromEnviroment

public bool colorFromEnviroment

Field Value

bool

depth

public float depth

Field Value

float

effectColor

public int effectColor

Field Value

int

lastDepth

public float lastDepth

Field Value

float

lastPos

public Vector2 lastPos

Field Value

Vector2

lastRad

public float lastRad

Field Value

float

pos

public Vector2 pos

Field Value

Vector2

rad

public float rad

Field Value

float

setDepth

public float? setDepth

Field Value

float?

setPos

public Vector2? setPos

Field Value

Vector2?

setRad

public float? setRad

Field Value

float?

tiedToObject

public UpdatableAndDeletable tiedToObject

Field Value

UpdatableAndDeletable

Properties

Depth

public float Depth { get; set; }

Property Value

float

ElementName

public virtual string ElementName { get; }

Property Value

string

LayerName

public virtual string LayerName { get; }

Property Value

string

Pos

public Vector2 Pos { get; }

Property Value

Vector2

Rad

public float Rad { get; }

Property Value

float

color

public Color color { get; set; }

Property Value

Color

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

Update(bool)

public override void Update(bool eu)

Parameters

eu bool