doodle.reactor.Reactor
See theReactor companion object
final case class Reactor[A](initial: A, onMouseClickHandler: (Point, A) => A, onMouseMoveHandler: (Point, A) => A, onTickHandler: A => A, tickRate: FiniteDuration, renderHandler: A => Image, stopHandler: A => Boolean) extends BaseReactor[A]
A Reactor that has reasonable defaults and a simple builder style for creating more complicated behaviour.
Attributes
- Companion:
- object
- Source:
- Reactor.scala
- Graph
- Supertypes