Table of Contents

Class WaterFall

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

Constructors

WaterFall(Room, IntVector2, float, int)

public WaterFall(Room room, IntVector2 tilePos, float flow, int width)

Parameters

room Room
tilePos IntVector2
flow float
width int

Fields

bottomPos

public float[] bottomPos

Field Value

float[]

bubbles

public Vector2[,] bubbles

Field Value

Vector2[,]

bubblesPerTile

public int bubblesPerTile

Field Value

int

flow

public float flow

Field Value

float

fullWaterfallHitWaterSound

public StaticSoundLoop fullWaterfallHitWaterSound

Field Value

StaticSoundLoop

fullWaterfallSound

public StaticSoundLoop fullWaterfallSound

Field Value

StaticSoundLoop

hitTerrainTiles

public IntVector2[] hitTerrainTiles

Field Value

IntVector2[]

lastFlow

public float lastFlow

Field Value

float

lastVisualDens

public float lastVisualDens

Field Value

float

originalFlow

public float originalFlow

Field Value

float

pos

public Vector2 pos

Field Value

Vector2

setFlow

public float setFlow

Field Value

float

smallWaterfallHitWaterSound

public StaticSoundLoop smallWaterfallHitWaterSound

Field Value

StaticSoundLoop

smallWaterfallSound

public StaticSoundLoop smallWaterfallSound

Field Value

StaticSoundLoop

tilePos

public IntVector2 tilePos

Field Value

IntVector2

topPos

public float[] topPos

Field Value

float[]

visualDensity

public float visualDensity

Field Value

float

water

public Water water

Field Value

Water

width

public int width

Field Value

int

Properties

FloatLeft

public float FloatLeft { get; }

Property Value

float

FloatRight

public float FloatRight { get; }

Property Value

float

Flooded

public bool Flooded { get; }

Property Value

bool

fallingWaterBottom

public float fallingWaterBottom { get; }

Property Value

float

floatLength

public float floatLength { get; }

Property Value

float

startLevel

public float startLevel { get; }

Property Value

float

strikeLevel

public float strikeLevel { get; }

Property Value

float

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

ConnectToWaterObject(Water)

public void ConnectToWaterObject(Water water)

Parameters

water Water

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

ResetBubble(int, int)

public void ResetBubble(int i, int t)

Parameters

i int
t int

Update(bool)

public override void Update(bool eu)

Parameters

eu bool