usecrate::bot::Difficulty;/// Something the player asked the front end to do.
////// Actions say what the player wants rather than which key they pressed, so a front end with
/// buttons or a mouse sends exactly the same ones.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]pubenumAction{/// Move the selection one column to the left.
Previous,/// Move the selection one column to the right.
Next,/// Point at a column, counting from zero.
Choose(usize),/// Place a disc in the selected column.
Confirm,/// Face the opponent of the next level up, keeping the game as it stands.
CycleDifficulty,/// Face the opponent of a level, keeping the game as it stands.
SetDifficulty(Difficulty),/// Start a new game against the same level.
Restart,/// Leave the game.
Quit,}