public PuzzleSquareViewModel(IPlayablePuzzleSquare puzzleSquare) { this.PuzzleSquare = puzzleSquare; this.FillCommand = new FillCommand(this); this.EmptyCommand = new EmptyCommand(this); this.UnknownCommand = new UnknownCommand(this); }
public SquareViewModel(IPlayablePuzzleSquare square) { this.square = square; this.Cycle = new EnabledCommand(PerformCycle); }
public SquareVM(IPlayablePuzzleSquare playablePuzzleSquare) { this.puzzleSquare = playablePuzzleSquare; }
public SquareVM(IPlayablePuzzleSquare square) { this.Wrapped = square; this.CycleCommand = new CycleCommand(this); }
public ChangeableSquare(IPlayablePuzzleSquare square) { this.changeableSquare = square; ChangeColorWhite = new ClickCommandRight(this); ChangeColorBlack = new ClickCommandLeft(this); }
private void ChangeValue(IPlayablePuzzleSquare square) { }
public SquareVM(IPlayablePuzzleSquare square) { this.square = square; this.fillRectangle = new FillRectangleCommand(this.square); this.emptyRectangle = new EmptyRectangleCommand(this.square); }
public SquareVM(IPlayablePuzzleSquare square) { this.square = square; this.Press = new ClickSquareCommand(this); this.PressRight = new ClickRightCommand(this); }
public SquareVM(IPlayablePuzzleSquare square) { Square = square; Click = new ClickSquareCommand(this); }
public SquareViewModel(IPlayablePuzzleSquare square) { Square = square; RightClick = new Right(this); LeftClick = new Left(this); }
public SquareViewModel(IPlayablePuzzleSquare square) { this.Square = square; //Empty, filled of unknown this.State = new SquareStateCommand(this); }
public SquareViewModel(IPlayablePuzzleSquare square) { Square = square; ChangeSquareContent = new ChangeSquareContentsCommand(); ContentRangeChanger = new ContentRangeChangerCommand(); }
public EmptyRectangleCommand(IPlayablePuzzleSquare s) { this.square = s; }
public FillRectangleCommand(IPlayablePuzzleSquare square) { this.square = square; }
public PlayablePuzzleSquareViewModel(IPlayablePuzzleSquare puzzleSquare) { this.PuzzleSquare = puzzleSquare; this.CycleCommand = new CycleCommand(this); }
public SquareViewModel(IPlayablePuzzleSquare playablePuzzleSquare) { this.Square = playablePuzzleSquare; this.Cycle = new CycleCommand(this); }
public ViewModelSquare(IPlayablePuzzleSquare square) { this._square = square; this.FillSquare = new EnabledCommand(() => square.Contents.Value = Square.FILLED); this.EmptySquare = new EnabledCommand(() => square.Contents.Value = Square.EMPTY); }
public SquareViewModel(IPlayablePuzzleSquare square) { this.square = square; this.SquareLeftClick = new SquareLeftClickCommand(this); this.SquareRightClick = new SquareRightClickCommand(this); }
public PuzzleSquareViewModel(IPlayablePuzzleSquare square) { this.playablePuzzleSquare = square; Mark = new ClickCommand(this); }