void setGameOverKeyState() { actions.Remove(Keys.Left); actions.Remove(Keys.Right); actions.Remove(Keys.Space); actions.Set(Keys.N, () => { // starts a new game board.Clear(); Winner = Winner.None; NewChipNeeded = true; desiredKeyState = KeyState.InGame; }); currentKeyState = KeyState.GameOver; }