removeFluid

open fun removeFluid(fluid: PylonFluid, amount: Double): Boolean(source)

Removes from a fluid buffer only if the new amount of fluid is greater than zero and fits in the buffer.

Return

true only if the buffer was added to successfully