Exemple #1
0
        public void AddChange(ChessBoxPosition checkBox, ChessBoxState oldState, ChessBoxState newState)
        {
            ChessBoxChange change = new ChessBoxChange
            {
                Position = checkBox,
                OldState = oldState,
                NewState = newState
            };

            Changes.Add(change);
        }
Exemple #2
0
 public ChessBoxState GetState(ChessBoxPosition position)
 {
     return(PlayingDesk[position.X, position.Y]);
 }