Table of Contents

Interface IFluidContainer

Namespace
Root
Assembly
Game.Content.Features.dll
public interface IFluidContainer
Extension Methods

Properties

Capacity

FluidUnit Capacity { get; }

Property Value

FluidUnit

Fluid

IFluid Fluid { get; }

Property Value

IFluid

Level

float Level { get; }

Property Value

float

Value

FluidUnit Value { get; }

Property Value

FluidUnit

Methods

Add(FluidUnit, IFluid)

void Add(FluidUnit amount, IFluid fluid)

Parameters

amount FluidUnit
fluid IFluid

CanAdd(FluidUnit, IFluid)

bool CanAdd(FluidUnit amount, IFluid fluid)

Parameters

amount FluidUnit
fluid IFluid

Returns

bool

Take(FluidUnit)

void Take(FluidUnit amount)

Parameters

amount FluidUnit