flix

0.81.0

Screen

enum Screen with Eq, Order, ToStringSource
case Attract
case Playing
case Entering
case Table

What the cabinet is currently showing.

Deliberately separate from Phase, which describes a single game and lives inside World. A screen outlives a game -- the attract loop keeps running while games start and end underneath it -- so conflating the two would put cabinet state inside the rules.

Instances

Eq, Order, ToString