Decreasing
indigoextras.datatypes.Decreasing
final case class Decreasing(value: Double, unitsPerSecond: Double) extends TimeVaryingValue
A value that decreases over time.
Value parameters
- unitsPerSecond
-
The rate of change
- value
-
The current value
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TimeVaryingValueclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Update the time varying value based on a time delta
Update the time varying value based on a time delta
Value parameters
- timeDelta
-
the time delta typically supplied from GameTime(..).delta
Attributes
- Returns
-
TimeVaryingValue
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Value as an Double
Value as an Float
Value as an Int
Value as an Long
In this article