Signal

object Signal
class Object
trait Matchable
class Any
Signal.type

Type members

Classlikes

implicit implicit class SignalTuple2ToSignal[A, B](t: (() => A, () => B))
implicit implicit class SignalTuple3ToSignal[A, B, C](t: (() => A, () => B, () => C))
implicit implicit class SignalTuple4ToSignal[A, B, C, D](t: (() => A, () => B, () => C, () => D))
implicit implicit class ValueToSignal[A](a: A)

Value members

Concrete methods

def CosWave: () => Double
def EaseIn(duration: Seconds): () => Double
def EaseInOut(duration: Seconds): () => Double
def EaseOut(duration: Seconds): () => Double
def Lerp(from: Point, to: Point, over: Seconds): () => Point
def Linear(over: Seconds): () => Double
def Orbit(center: Point, distance: Double, offset: Radians): () => Vector2
def Orbit(center: Point, distance: Double): () => Vector2
def Pulse(interval: Seconds): () => Boolean
def SinWave: () => Double
def SmoothPulse: () => Double
def Step(at: Seconds): () => Boolean
def affectSignalTime[A](sa: () => A, multiplyBy: Double): () => A
inline def apply[A](run: Seconds => A): () => A
def clampSignalTime[A](signal: () => A, from: Seconds, to: Seconds): () => A
def fixed[A](a: A): () => A
def mergeSignals[A, B, C](sa: () => A, sb: () => B)(f: (A, B) => C): () => C
def product[A, B](sa: () => A, sb: () => B): () => (A, B)
def triple[A, B, C](sa: () => A, sb: () => B, sc: () => C): () => (A, B, C)
def wrapSignalTime[A](signal: () => A, at: Seconds): () => A

Concrete fields

val Time: () => Seconds

Extensions

Extensions

extension [A](s: () => A)
def affectTime(multiplyBy: Double): () => A
def ap[B](f: () => A => B): () => B
def at(t: Seconds): A
def clampTime(from: Seconds, to: Seconds): () => A
def combine[B](other: () => B): () => (A, B)
def flatMap[B](f: A => () => B): () => B
def map[B](f: A => B): () => B
def merge[B, C](other: () => B)(f: (A, B) => C): () => C
def pipe[B](sf: SignalFunction[A, B]): () => B
def run: Seconds => A
def wrapTime(at: Seconds): () => A
def |*|[B](other: () => B): () => (A, B)
def |>[B](sf: SignalFunction[A, B]): () => B

Implicits

Implicits

final implicit def SignalTuple2ToSignal[A, B](t: (() => A, () => B)): SignalTuple2ToSignal[A, B]
final implicit def SignalTuple3ToSignal[A, B, C](t: (() => A, () => B, () => C)): SignalTuple3ToSignal[A, B, C]
final implicit def SignalTuple4ToSignal[A, B, C, D](t: (() => A, () => B, () => C, () => D)): SignalTuple4ToSignal[A, B, C, D]
final implicit def ValueToSignal[A](a: A): ValueToSignal[A]