Add References to git
This commit is contained in:
22
info/Minesweeper2/MinesweeperSolver/SolverActionHeader.cs
Normal file
22
info/Minesweeper2/MinesweeperSolver/SolverActionHeader.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MinesweeperSolver {
|
||||
|
||||
class SolverActionHeader {
|
||||
|
||||
public readonly IList<SolverAction> solverActions;
|
||||
public readonly IList<SolverAction> deadActions;
|
||||
|
||||
public SolverActionHeader() {
|
||||
List<SolverAction> empty = new List<SolverAction>();
|
||||
this.solverActions = empty.AsReadOnly();
|
||||
this.deadActions = empty.AsReadOnly();
|
||||
}
|
||||
|
||||
public SolverActionHeader(List<SolverAction> solverActions, List<SolverAction> deadActions) {
|
||||
this.solverActions = solverActions.AsReadOnly();
|
||||
this.deadActions = deadActions.AsReadOnly();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user