Пример #1
0
 protected virtual void OnVisitWall(VisitWallEventArgs e)
 {
     if (VisitWall != null)
     {
         VisitWall?.Invoke(this, e);
     }
 }
Пример #2
0
        public void VisitWallHandler(object sender, VisitWallEventArgs e)
        {
            //foreach(KeyValuePair<Position, Cell> kvp in e.wall.NeighborhoodCells.Where(kvp => !(kvp.Value is Wall)))
            //{
            //    Board boardTemp = e.wall.board.Clone();
            //    boardTemp.Cells[kvp.Value.hex].CanPush()

            //    _moves.Add(new Move(kvp.Value
            //}
        }
Пример #3
0
 public void VisitWallHandler(object sender, VisitWallEventArgs e)
 {
     // do nothing
 }