Table of Contents

Interface SurfaceWater.IAreaSource

Namespace
FishMMO.Shared.Weather
Assembly
FishMMO.Shared.dll

Water that stands only in some places: lakes and rivers.

public interface SurfaceWater.IAreaSource : SurfaceWater.ISource
Inherited Members

Methods

CurrentAt(float, float)

The water's horizontal velocity at a world position, m/s; zero where it is still or absent.

Vector2 CurrentAt(float x, float z)

Parameters

x float
z float

Returns

Vector2

TryGetSurface(float, float, out float)

The water's surface over a world position, when there is water there.

bool TryGetSurface(float x, float z, out float level)

Parameters

x float
z float
level float

Returns

bool