Properties
liquidAmounts
liquidAmounts: {}
liquidLimits
liquidLimits: {}
Methods
_setContainerScale
- _setContainerScale(container: UI.Container, scale: string, liquid: string, val: number): void
Parameters
scale: string
liquid: string
val: number
Returns void
addLiquid
- addLiquid(liquid: string, amount: number, onlyFullAmount?: boolean): number
Parameters
liquid: string
amount: number
Optional onlyFullAmount: boolean
Returns number
getAmount
- getAmount(liquid: string): number
getLimit
- getLimit(liquid: string): number
getLiquid
- getLiquid(liquid: string, amount: number, onlyFullAmount?: boolean): number
Parameters
liquid: string
amount: number
Optional onlyFullAmount: boolean
Returns number
getLiquidStored
- getLiquidStored(): string
getRelativeAmount
- getRelativeAmount(liquid: string): number
hasDataFor
- hasDataFor(liquid: string): boolean
Parameters
Returns boolean
isEmpty
- isEmpty(liquid?: string): boolean
Parameters
Returns boolean
isFull
- isFull(liquid?: string): boolean
Parameters
Returns boolean
setAmount
- setAmount(liquid: string, amount: number): void
Parameters
liquid: string
amount: number
Returns void
setLimit
- setLimit(liquid: string, limit: number): void
Parameters
liquid: string
limit: number
Returns void
updateUiScale
- updateUiScale(scale: string, liquid: string, container?: UI.Container): void
Parameters
scale: string
liquid: string
Returns void