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
Field Value
- bool
expand
Field Value
- float
expandAroundPlayer
public Player expandAroundPlayer
Field Value
- Player
generalGlitch
public float generalGlitch
Field Value
- float
glitch
Field Value
- float
glitchLoop
public StaticSoundLoop glitchLoop
Field Value
- StaticSoundLoop
hoverPos
Field Value
- Vector2
lastExpand
Field Value
- float
lastGlitch
Field Value
- float
lastPos
Field Value
- Vector2
lastPower
Field Value
- float
lines
Field Value
- Vector2[,]
lockdownCounter
public int lockdownCounter
Field Value
- int
locked
Field Value
- bool
placedObj
public PlacedObject placedObj
Field Value
- PlacedObject
pos
Field Value
- Vector2
power
Field Value
- float
poweredOn
Field Value
- bool
showUnlockSymbols
public List<MultiplayerUnlocks.SandboxUnlockID> showUnlockSymbols
Field Value
- List<MultiplayerUnlocks.SandboxUnlockID>
sinCounter
Field Value
- float
sinCounter2
Field Value
- float
soundLoop
public StaticSoundLoop soundLoop
Field Value
- StaticSoundLoop
stalk
public CollectToken.TokenStalk stalk
Field Value
- CollectToken.TokenStalk
trail
Field Value
- Vector2[]
underWaterMode
public bool underWaterMode
Field Value
- bool
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
AddToContainer(SpriteLeaser, RoomCamera, FContainer)
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