TimeVaryingValue

sealed trait TimeVaryingValue

Represents one of the type of values that changes over time.

class Object
trait Matchable
class Any

Value members

Abstract 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

Returns:

TimeVaryingValue

Concrete methods

Value as an Double

Value as an Double

Returns:

Double

Value as an Float

Value as an Float

Returns:

Float

def toInt: Int

Value as an Int

Value as an Int

Returns:

Int

Value as an Long

Value as an Long

Returns:

Long

Abstract fields

The rate of change

The rate of change

Returns:

Double

The current value

The current value

Returns:

Double