PlaybookSession constructor

PlaybookSession({
  1. required PlaybookClock clock,
  2. PlaybookOverlay? overlay,
  3. Random? random,
})

Creates a session timed by clock, drawing in overlay when given.

Implementation

PlaybookSession({required this.clock, this.overlay, Random? random})
  : random = random ?? Random();