Move constructor
const
Move(
- Color color, {
- bool inverted = false,
- bool double = false,
})
Creates a Move instance of a cube face color,
and if the turn is inverted or double.
Implementation
const Move(
this.color, {
this.inverted = false,
this.double = false,
}) : assert(!inverted || !double);