Decreasing

final case
class Decreasing(value: Double, unitsPerSecond: Double) extends TimeVaryingValue

A value that decreases over time.

Value Params
unitsPerSecond

The rate of change

value

The current value

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def update(timeDelta: Seconds): Decreasing

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def toDouble: Double

Value as an Double

Value as an Double

Returns

Double

Inherited from
TimeVaryingValue
def toFloat: Float

Value as an Float

Value as an Float

Returns

Float

Inherited from
TimeVaryingValue
def toInt: Int

Value as an Int

Value as an Int

Returns

Int

Inherited from
TimeVaryingValue
def toLong: Long

Value as an Long

Value as an Long

Returns

Long

Inherited from
TimeVaryingValue