Table of Contents

Class CollectToken

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

Constructors

CollectToken(Room, PlacedObject)

public CollectToken(Room room, PlacedObject placedObj)

Parameters

room Room
placedObj PlacedObject

Fields

anythingUnlocked

public bool anythingUnlocked

Field Value

bool

contract

public bool contract

Field Value

bool

expand

public float expand

Field Value

float

expandAroundPlayer

public Player expandAroundPlayer

Field Value

Player

generalGlitch

public float generalGlitch

Field Value

float

glitch

public float glitch

Field Value

float

glitchLoop

public StaticSoundLoop glitchLoop

Field Value

StaticSoundLoop

hoverPos

public Vector2 hoverPos

Field Value

Vector2

lastExpand

public float lastExpand

Field Value

float

lastGlitch

public float lastGlitch

Field Value

float

lastPos

public Vector2 lastPos

Field Value

Vector2

lastPower

public float lastPower

Field Value

float

lines

public Vector2[,] lines

Field Value

Vector2[,]

lockdownCounter

public int lockdownCounter

Field Value

int

locked

public bool locked

Field Value

bool

placedObj

public PlacedObject placedObj

Field Value

PlacedObject

pos

public Vector2 pos

Field Value

Vector2

power

public float power

Field Value

float

poweredOn

public bool poweredOn

Field Value

bool

showUnlockSymbols

public List<MultiplayerUnlocks.SandboxUnlockID> showUnlockSymbols

Field Value

List<MultiplayerUnlocks.SandboxUnlockID>

sinCounter

public float sinCounter

Field Value

float

sinCounter2

public float sinCounter2

Field Value

float

soundLoop

public StaticSoundLoop soundLoop

Field Value

StaticSoundLoop

stalk

public CollectToken.TokenStalk stalk

Field Value

CollectToken.TokenStalk

trail

public Vector2[] trail

Field Value

Vector2[]

underWaterMode

public bool underWaterMode

Field Value

bool

vel

public Vector2 vel

Field Value

Vector2

Properties

DevColor

public static HSLColor DevColor { get; }

Property Value

HSLColor

GoldSprite

public int GoldSprite { get; }

Property Value

int

GreenColor

public static HSLColor GreenColor { get; }

Property Value

HSLColor

LightSprite

public int LightSprite { get; }

Property Value

int

MainSprite

public int MainSprite { get; }

Property Value

int

RedColor

public static HSLColor RedColor { get; }

Property Value

HSLColor

TokenColor

public Color TokenColor { get; }

Property Value

Color

TotalSprites

public int TotalSprites { get; }

Property Value

int

TrailSprite

public int TrailSprite { get; }

Property Value

int

WhiteColor

public static HSLColor WhiteColor { get; }

Property Value

HSLColor

blueToken

public bool blueToken { get; }

Property Value

bool

devToken

public bool devToken { get; }

Property Value

bool

greenToken

public bool greenToken { get; }

Property Value

bool

redToken

public bool redToken { get; }

Property Value

bool

whiteToken

public bool whiteToken { get; }

Property Value

bool

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

AvailableToPlayer()

public bool AvailableToPlayer()

Returns

bool

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

GoldCol(float)

public Color GoldCol(float g)

Parameters

g float

Returns

Color

InitiateSprites(SpriteLeaser, RoomCamera)

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

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera

LineSprite(int)

public int LineSprite(int line)

Parameters

line int

Returns

int

Pop(Player)

public void Pop(Player player)

Parameters

player Player

Update(bool)

public override void Update(bool eu)

Parameters

eu bool