Exemplo n.º 1
0
 public FlipEventArgs(Puzzle puzzle, GameState gameState, GameMode gameMode, bool isSolved)
 {
     this.puzzle    = puzzle;
     this.gameState = gameState;
     this.gameMode  = gameMode;
     this.isSolved  = isSolved;
     this.info      = AfterSolvedInfo.NoChanges;
 }
Exemplo n.º 2
0
 public static FlipEventArgs PuzzleSolvedArgs(Puzzle puzzle, GameState gameState, GameMode gameMode, AfterSolvedInfo info)
 {
     return(new FlipEventArgs()
     {
         puzzle = puzzle,
         gameState = gameState,
         gameMode = gameMode,
         info = info,
         isSolved = true,
     });
 }